home / end fixed for visual mode, supertab for everything, not only python
This commit is contained in:
parent
017efc558b
commit
4aaedf640e
2 changed files with 6 additions and 6 deletions
|
@ -10,6 +10,7 @@ Plug 'junegunn/vim-plug'
|
|||
|
||||
" general plugins
|
||||
Plug 'directionalWindowResizer'
|
||||
Plug 'ervandew/supertab'
|
||||
Plug 'jeetsukumaran/vim-buffergator'
|
||||
Plug 'junegunn/vim-easy-align'
|
||||
Plug 'mhinz/vim-signify'
|
||||
|
@ -21,7 +22,6 @@ Plug 'vimwiki/vimwiki'
|
|||
" IDE liek, per filetype
|
||||
Plug 'neomake/neomake', { 'for': 'python' }
|
||||
Plug 'davidhalter/jedi-vim', { 'for': 'python' }
|
||||
Plug 'ervandew/supertab', { 'for': 'python' }
|
||||
|
||||
" colorschemes
|
||||
Plug 'lifepillar/vim-solarized8'
|
||||
|
|
10
vimrc
10
vimrc
|
@ -32,25 +32,25 @@ if v:version >= 800
|
|||
endif
|
||||
|
||||
" maps
|
||||
" leader
|
||||
"leader
|
||||
map <Space> <NOP>
|
||||
let mapleader="\<Space>"
|
||||
" no more F1
|
||||
"no more F1
|
||||
noremap <F1> <Esc>
|
||||
xnoremap <F1> <Esc>
|
||||
snoremap <F1> <Esc>
|
||||
inoremap <F1> <Esc>
|
||||
lnoremap <F1> <Esc>
|
||||
cnoremap <F1> <Esc>
|
||||
" some toggles
|
||||
"some toggles
|
||||
nnoremap <Leader>n :setlocal number!<CR>
|
||||
nnoremap <Leader>r :setlocal relativenumber!<CR>
|
||||
nnoremap <Leader>l :setlocal list!<CR>
|
||||
nnoremap <Leader>c :setlocal cursorline!<CR>
|
||||
nnoremap <Leader>/ :nohls<CR>
|
||||
"home / end
|
||||
nnoremap H ^
|
||||
nnoremap L $
|
||||
noremap H ^
|
||||
noremap L $
|
||||
"copy to / paste from clipboard
|
||||
vmap <Leader>y "+y
|
||||
vmap <Leader>d "+d
|
||||
|
|
Loading…
Reference in a new issue