Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- filetype plugin indent on
- syntax on
- set number
- set incsearch
- set noswapfile
- " If the current buffer has never been saved, it will have no name,
- " call the file browser to save it, otherwise just save it.
- command -nargs=0 -bar Update if &modified
- \| if empty(bufname('%'))
- \| browse confirm write
- \| else
- \| confirm write
- \| endif
- \|endif
- nnoremap <silent> <C-S> :<C-u>Update<CR>
- inoremap <c-s> <Esc>:Update<CR>
Add Comment
Please, Sign In to add comment