Skip to content

Commit

Permalink
change commands to match earlier layout
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewschleifer committed Feb 15, 2016
1 parent fc5a263 commit 7b95615
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions vimrc
Expand Up @@ -42,25 +42,17 @@ highlight NonText ctermfg=232
highlight SpecialKey ctermfg=232
highlight ColorColumn ctermbg=238 guibg=grey30

" for stupid fingers
noremap <SPACE> :
" goodbye ex mode
map Q <Nop>
" commands

" make Y consistent with C and D
nnoremap Y y$
" enter to stop search highlight
noremap <SPACE> :
nnoremap <silent> <cr> :nohlsearch<cr>
autocmd CmdwinEnter * :unmap <cr>
autocmd CmdwinLeave * :nnoremap <cr> :nohlsearch<cr>
" fix git cursor position
autocmd FileType gitcommit call setpos('.', [0, 1, 1, 0])
" filetypes

" fix fsharp indent
autocmd FileType fsharp set tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab
autocmd FileType gitcommit call setpos('.', [0, 1, 1, 0]) " fix git cursor position
autocmd FileType fsharp set tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab " fix fsharp indent

" helper things

Expand Down

0 comments on commit 7b95615

Please sign in to comment.