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