Readme updates

This commit is contained in:
2019-10-31 09:42:15 -06:00
parent 9277cf6e82
commit 8b3cc18aac
3 changed files with 43 additions and 2 deletions

8
.netrwhist Normal file
View File

@@ -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'

View File

@@ -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'...

20
vimrc
View File

@@ -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 <leader>m :setlocal number!<cr>
nnoremap <leader>n :NERDTreeToggle<CR>
let NERDTreeShowFiles=1
let NERDTreeShowHidden=1
let NERDTreeQuitOnOpen=1
let NERDTreeHighlightCursorline=1
" CTRLP (Command Palette, already works with CTRL+P)
nnoremap <leader>. :CtrlPBuffer<CR>
@@ -78,6 +90,12 @@ nnoremap <leader>. :CtrlPBuffer<CR>
nnoremap <leader>Q :q<CR>
nnoremap <leader>q :bd<CR>
" Better Window Navigation than <C-w>hjkl
noremap <C-h> <C-w>h
noremap <C-j> <C-w>j
noremap <C-k> <C-w>k
noremap <C-l> <C-w>l
" Edit vimrc
nnoremap <silent> <leader>ev :e ~/.vim/vimrc<CR>