Skip to content

Instantly share code, notes, and snippets.

@msr1k
Last active December 20, 2017 07:58
Show Gist options
  • Save msr1k/5687ab9a85975973851e2ce9c796c1f0 to your computer and use it in GitHub Desktop.
Save msr1k/5687ab9a85975973851e2ce9c796c1f0 to your computer and use it in GitHub Desktop.
vifmrc
set incsearch
set ignorecase
set smartcase
set wildmenu
set wildstyle=popup
set sortnumbers
nnoremap t tj
nnoremap x :shell<cr>
nnoremap s :sort<cr>
nnoremap w :view<cr>
vnoremap w :view<cr>gv
" Mac specific
set vicmd='env LANG=ja_JP.UTF-8 /Applications/MacVim.app/Contents/MacOS/Vim'
nnoremap ,c :write | edit $MYVIFMRC | restart<cr>
nnoremap yd :!printf %d | pbcopy<cr>
nnoremap yf :!printf %c:p | pbcopy<cr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment