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
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…
Add table
Add a link
Reference in a new issue