netrw mappings

This commit is contained in:
ManjaroOne666 2018-02-18 12:19:37 +00:00
parent e0cd15fab8
commit b6bab2587c
2 changed files with 15 additions and 12 deletions

View File

@ -1,8 +1,10 @@
let g:netrw_dirhistmax =10 let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =6 let g:netrw_dirhist_cnt =8
let g:netrw_dirhist_1='/home/ray/.screenlayout' let g:netrw_dirhist_1='/home/ray/.config/vim'
let g:netrw_dirhist_2='/home/ray/.config/i3status' let g:netrw_dirhist_2='/home/ray/.config/vim/vim'
let g:netrw_dirhist_3='/home/ray/Projects/Vue/vx/src/components' let g:netrw_dirhist_3='/home/ray/.config/vim'
let g:netrw_dirhist_4='/home/ray/Projects/Vue/vx/src' let g:netrw_dirhist_4='/home/ray/.config/vim/vim/colors'
let g:netrw_dirhist_5='/home/ray/Projects/Vue/vx/src/sass' let g:netrw_dirhist_5='/home/ray/.config/vim'
let g:netrw_dirhist_6='/home/ray/Projects/Vue/vx/src/components' let g:netrw_dirhist_6='/home/ray/.config/vim/.git'
let g:netrw_dirhist_7='/home/ray/.config/vim'
let g:netrw_dirhist_8='/home/ray/.config/vim/vim'

11
vimrc
View File

@ -150,11 +150,9 @@ inoremap jk <esc>
nnoremap <leader>co :!clear; nnoremap <leader>co :!clear;
" disable arrow keys " netrw
"noremap <Up> <nop> nnoremap <leader>ex :Ex<CR>
"noremap <Down> <nop> nnoremap <leader>qq :Rex<CR>
"noremap <Left> <nop>
"noremap <Right> <nop>
" better window navigaton " better window navigaton
nnoremap <C-h> <C-w>h nnoremap <C-h> <C-w>h
@ -441,6 +439,9 @@ let g:UltiSnipsJumpForwardTrigger='<c-b>'
let g:UltiSnipsJumpBackwardTrigger='<c-z>' let g:UltiSnipsJumpBackwardTrigger='<c-z>'
let g:UltiSnipsEditSplit='horizontal' let g:UltiSnipsEditSplit='horizontal'
" Netrw
let g:netrw_liststyle=3
" NERDtree " NERDtree
nnoremap <F3> :NERDTreeFocus<CR> nnoremap <F3> :NERDTreeFocus<CR>
nnoremap <leader>nt :NERDTreeFocus<CR> nnoremap <leader>nt :NERDTreeFocus<CR>