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

changed styling and order

This commit is contained in:
Caleb Taylor 2019-08-07 12:15:42 -07:00
parent aca5271868
commit 1fde665ede

View file

@ -19,11 +19,20 @@ 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.
## What was Changed?
`basic.vim`
let mapleader = " "
## What was Added? ## What was Added?
Some mappings are commented out Some mappings are commented out
basic.vim `basic.vim`
" Display line numbers
set number
" 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
@ -66,7 +75,7 @@ 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
plugins_config.vim `plugins_config.vim`
let g:EasyMotion_do_mapping = 0 " Disable default mappings let g:EasyMotion_do_mapping = 0 " Disable default mappings
@ -99,19 +108,13 @@ 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 ## Removed
basic.vim `basic.vim`
map <leader>pp :setlocal paste!<cr> map <leader>pp :setlocal paste!<cr>
plugins_config.vim `plugins_config.vim`
map <leader>nn :NERDTreeToggle<cr> map <leader>nn :NERDTreeToggle<cr>
map <leader>nb :NERDTreeFromBookmark<Space> map <leader>nb :NERDTreeFromBookmark<Space>