Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
light vimrc for Bash on Windows
"Bash on Windows
"swap fileを作らない
set noswapfiles
set nobackup
"行数の表示
set number
set cursorline
set title
"search configure
set incsearch
set ignorecase
set smartcase
set wrapscan
set hlsearch
"<ESC>二回ででハイライトをOFFにする
nmap <ESC><ESC> :noh<CR>
"http://peace-pipe.blogspot.com/2006/05/vimrc-vim.html
set tabstop=4
set shiftwidth=4
set softtabstop=0
set expandtab
nmap <UP> gk
nmap <DOWN> gj
vmap <UP> gk
vmap <DOWN> gj
" insert modeの時 jj でinsert modeを抜ける
inoremap <silent>jj <Esc>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment