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
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 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
" ---------------------------------------------------------------------------}}}
" Set Colorscheme -----------------------------------------------------------{{{
" Colorscheme ---------------------------------------------------------------{{{
if &t_Co > 2 || has("gui_running")
" enable syntax highlighting
syntax on

Loading…
Cancel
Save