1
0
Fork 0
mirror of synced 2024-06-15 13:31:10 -04:00

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. 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 basic.vim
let mapleader = " "
" Treat long lines as break lines (useful when moving around in them) " Treat long lines as break lines (useful when moving around in them)
map j gj map j gj
map k gk map k gk
@ -67,8 +67,6 @@ basic.vim
map <Leader>p :set paste<CR>o<esc>"*]p:set nopaste<cr> map <Leader>p :set paste<CR>o<esc>"*]p:set nopaste<cr>
vmap <Leader>y "+y vmap <Leader>y "+y
" map <leader>pp :setlocal paste!<cr>
plugins_config.vim plugins_config.vim
let g:EasyMotion_do_mapping = 0 " Disable default mappings 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 " Close vim if the only window left open is a NERDTree
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif 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 " Quickly open a markdown buffer for scribble
map <leader>x :e ~/buffer.md<cr> map <leader>x :e ~/buffer.md<cr>
" Toggle paste mode on and off
" map <leader>pp :setlocal paste!<cr>
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Helper functions " => Helper functions
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

View file

@ -102,9 +102,6 @@ let g:NERDTreeWinPos = "right"
let NERDTreeShowHidden=0 let NERDTreeShowHidden=0
let NERDTreeIgnore = ['\.pyc$', '__pycache__'] let NERDTreeIgnore = ['\.pyc$', '__pycache__']
let g:NERDTreeWinSize=35 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 " Open a NERDTree automatically when vim starts up if no files were specified
autocmd StdinReadPre * let s:std_in=1 autocmd StdinReadPre * let s:std_in=1