made some changes to the basic.vim
This commit is contained in:
parent
4367f9c765
commit
775dbe9725
1 changed files with 6 additions and 0 deletions
|
@ -65,6 +65,10 @@ nmap <leader>w :w!<cr>
|
||||||
" (useful for handling the permission-denied error)
|
" (useful for handling the permission-denied error)
|
||||||
command W w !sudo tee % > /dev/null
|
command W w !sudo tee % > /dev/null
|
||||||
|
|
||||||
|
nnoremap <leader>ev :vi ~/.vimrc<cr>
|
||||||
|
nnoremap <leader>sv :source ~/.vimrc<cr>
|
||||||
|
nnoremap <leader>s :mksession<cr>
|
||||||
|
|
||||||
|
|
||||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
" => VIM user interface
|
" => VIM user interface
|
||||||
|
@ -230,7 +234,9 @@ map <leader>bd :Bclose<cr>:tabclose<cr>gT
|
||||||
map <leader>ba :bufdo bd<cr>
|
map <leader>ba :bufdo bd<cr>
|
||||||
|
|
||||||
map <leader>l :bnext<cr>
|
map <leader>l :bnext<cr>
|
||||||
|
map <F8> :bn<cr>
|
||||||
map <leader>h :bprevious<cr>
|
map <leader>h :bprevious<cr>
|
||||||
|
map <F7> :bp<cr>
|
||||||
|
|
||||||
" Useful mappings for managing tabs
|
" Useful mappings for managing tabs
|
||||||
map <leader>tn :tabnew<cr>
|
map <leader>tn :tabnew<cr>
|
||||||
|
|
Loading…
Reference in a new issue