dunno if these vimscript changes are good or not

master
Jordan Orelli 8 years ago
parent 015b70f8e7
commit c0a1f83abe

@ -4,6 +4,18 @@ set foldlevelstart=0
" vim folds include explicit markers " vim folds include explicit markers
set foldmethod=marker set foldmethod=marker
" automatically open folds when entering them
set foldopen=all
" automatically close folds when leaving them
set foldclose=all
set shiftwidth=2 set shiftwidth=2
set tabstop=2 set tabstop=2
" in normal mode, leader x will source the whole file
nnoremap <leader>x :source %<cr>
" in visual mode, leader x will source the selected lines
vnoremap <leader>x :<C-w>exe join(getline("'<","'>"),'<Bar>')<CR>

@ -134,7 +134,7 @@ set mousehide
let g:NERDTreeMouseMode = 2 let g:NERDTreeMouseMode = 2
" ---------------------------------------------------------------------------}}} " ---------------------------------------------------------------------------}}}
" Set Colorscheme -----------------------------------------------------------{{{ " Colorscheme ---------------------------------------------------------------{{{
if &t_Co > 2 || has("gui_running") if &t_Co > 2 || has("gui_running")
" enable syntax highlighting " enable syntax highlighting
syntax on syntax on

Loading…
Cancel
Save