mirror of
1
0
Fork 0

more description on modification

This commit is contained in:
Caleb Taylor 2019-08-07 11:44:15 -07:00
parent 13a698483c
commit d71492bb49
3 changed files with 21 additions and 12 deletions

View File

@ -20,12 +20,12 @@ To install for multiple users, the repository needs to be cloned to a location a
Naturally, `/opt/vim_runtime` can be any directory, as long as all the users specified have read access.
## Additional Mappings
## What was Added?
Some mappings are commented out
basic.vim
let mapleader = " "
" Treat long lines as break lines (useful when moving around in them)
map j gj
map k gk
@ -67,8 +67,6 @@ basic.vim
map <Leader>p :set paste<CR>o<esc>"*]p:set nopaste<cr>
vmap <Leader>y "+y
" map <leader>pp :setlocal paste!<cr>
plugins_config.vim
let g:EasyMotion_do_mapping = 0 " Disable default mappings
@ -101,3 +99,21 @@ plugins_config.vim
" Close vim if the only window left open is a NERDTree
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
## What was Changed?
basic.vim
let mapleader = " "
## Removed
basic.vim
map <leader>pp :setlocal paste!<cr>
plugins_config.vim
map <leader>nn :NERDTreeToggle<cr>
map <leader>nb :NERDTreeFromBookmark<Space>
map <leader>nf :NERDTreeFind<cr>

View File

@ -367,10 +367,6 @@ map <leader>q :e ~/buffer<cr>
" Quickly open a markdown buffer for scribble
map <leader>x :e ~/buffer.md<cr>
" Toggle paste mode on and off
" map <leader>pp :setlocal paste!<cr>
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Helper functions
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

View File

@ -102,9 +102,6 @@ let g:NERDTreeWinPos = "right"
let NERDTreeShowHidden=0
let NERDTreeIgnore = ['\.pyc$', '__pycache__']
let g:NERDTreeWinSize=35
" map <leader>nn :NERDTreeToggle<cr>
" map <leader>nb :NERDTreeFromBookmark<Space>
" map <leader>nf :NERDTreeFind<cr>
" Open a NERDTree automatically when vim starts up if no files were specified
autocmd StdinReadPre * let s:std_in=1