Skip to content

Instantly share code, notes, and snippets.

@solomonhuang
Last active June 28, 2016 06:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save solomonhuang/cae3c5aa6e04209c02bd to your computer and use it in GitHub Desktop.
Save solomonhuang/cae3c5aa6e04209c02bd to your computer and use it in GitHub Desktop.
vimrc
syntax enable
set tabstop=4
set expandtab
set number
set cursorline
filetype indent on
set wildmenu
set showmatch
set incsearch
set hlsearch
nnoremap <leader><space> :nohlsearch<CR>
set foldenable
set foldlevelstart=10
set foldnestmax=10
set foldmethod=indent
:nnoremap <F7> "=strftime("%FT%T%z")<CR>P
:inoremap <F7> <C-R>=strftime("%FT%T%z")<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment