diff --git a/.netrwhist b/.netrwhist new file mode 100644 index 0000000..c2d9370 --- /dev/null +++ b/.netrwhist @@ -0,0 +1,8 @@ +let g:netrw_dirhistmax =10 +let g:netrw_dirhistcnt =6 +let g:netrw_dirhist_6='/Users/mreschke/Wiki/docs/it/linux' +let g:netrw_dirhist_5='/Users/mreschke/Wiki/docs/it' +let g:netrw_dirhist_4='/Users/mreschke/Wiki/docs' +let g:netrw_dirhist_3='/Users/mreschke/Wiki/docs/it/mac' +let g:netrw_dirhist_2='/Users/mreschke/Wiki/docs/it' +let g:netrw_dirhist_1='/Users/mreschke/Wiki/docs' diff --git a/README.md b/README.md index 6921c53..45c498b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,18 @@ # mReschke Custom VIM -Hand build custom OS agnostic VIM with vim-plug +All new custom and OS agnostic vim configuration with vim-plug + + +## Installation + +If you are part of the mreschke family, then simply use `manup install vimrc`...you'll know what that means. + +Everyone else, just clone this repo into your ~/.vim folder, open vim and run `:PlugInstall`, done! + + +## Manup Sources + +This is for mreschke only while packaging manup sources. + +All of the vim-plug plugins in `plugged` directory are git submodules, so they are not included when you clone git. For manup I want the `plugged` directory fully populated which means after I `git pull` I need to open actual vim with this actual manup vim folder and run `:PlugInstall`, then do a manup `./package`. Thus my `linstore` `~/.vim` is a symlink into the actual manup sources. So simply `git pull` form the manup source dir then open vim on `linstore` and run `:PlugInstall`, then './package'... + diff --git a/vimrc b/vimrc index 1ff075e..db56179 100644 --- a/vimrc +++ b/vimrc @@ -1,4 +1,4 @@ -" All new custom and OS agnostic vim configuration using vim-plug plugin manager +" All new custom and OS agnostic vim configuration with vim-plug " mReschke 2019-10-30 @@ -8,6 +8,16 @@ " vim-plug " Install plugin, add to vimrc and run :PlugInstall " Uninstall, remove from vimrc and run :PlugClean +" windows +" ctrl+wv split vertical +" ctrl+ws split horizontal +" ctrl+hjkl focus windows in hjkl direction +" ctrl+HJLK move window in hjkl direction +" ctrl+r and R move windows by rotate down or right, best to SWAP +" ctrlp +" ctrl+p shows command palette +" while in palette, use ctrl+f to toggle files, buffers... +" ,. (thats leader and period) shows command palette in and selects buffers @@ -70,6 +80,8 @@ nnoremap m :setlocal number! nnoremap n :NERDTreeToggle let NERDTreeShowFiles=1 let NERDTreeShowHidden=1 +let NERDTreeQuitOnOpen=1 +let NERDTreeHighlightCursorline=1 " CTRLP (Command Palette, already works with CTRL+P) nnoremap . :CtrlPBuffer @@ -78,6 +90,12 @@ nnoremap . :CtrlPBuffer nnoremap Q :q nnoremap q :bd +" Better Window Navigation than hjkl +noremap h +noremap j +noremap k +noremap l + " Edit vimrc nnoremap ev :e ~/.vim/vimrc