Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

minor vim changes

  • Loading branch information...
commit 71ffbeac23d333cbb2bd64264ecde5780cca1986 1 parent 923f216
@cormacrelf authored
Showing with 3 additions and 3 deletions.
  1. +1 −0  vim/gvimrc.symlink
  2. +2 −3 vim/vimrc.symlink
View
1  vim/gvimrc.symlink
@@ -20,6 +20,7 @@ endif
if has('gui_macvim')
nnoremap <silent> <SwipeLeft> :macaction _cycleWindowsBackwards:<CR>
nnoremap <silent> <SwipeRight> :macaction _cycleWindows:<CR>
+ set macmeta
endif
" automatically reload vimrc when it's saved
View
5 vim/vimrc.symlink
@@ -20,10 +20,10 @@ set autoindent " automatic indent new lines
set smartindent " be smart about it: actually, use filetype
inoremap # X<BS>#
nmap <leader>l :set list!<CR> " Shortcut to rapidly toggle `set list`
-" set nowrap " do not wrap lines
+set nowrap " do not wrap lines
set formatoptions=l
set lbr
-set smarttab " fuck tabs
+set smarttab " fuck tabs
set formatoptions+=n " support for numbered/bullet lists
" set textwidth=80 " wrap at 80 chars by default
set virtualedit=block " allow virtual edit in visual block ..
@@ -39,7 +39,6 @@ let mapleader = ","
" exit to normal mode with 'jj'
" inoremap jj <ESC>
-
" reflow paragraph with Q in normal and visual mode
nnoremap Q gqap
vnoremap Q gq
Please sign in to comment.
Something went wrong with that request. Please try again.