Skip to content

Commit

Permalink
vimrc updates
Browse files Browse the repository at this point in the history
* add completeopt property
* don't show invisible characters by default
* dictionary updates
  • Loading branch information
nicknisi committed May 16, 2015
1 parent 15469ec commit 62ca812
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions vim/vim.symlink/spell/en.utf-8.add
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,9 @@ AMD
repo
vim
namespace
touchstart
touchend
mousedown
mouseup
pointerup
pointerdown
Binary file modified vim/vim.symlink/spell/en.utf-8.add.spl
Binary file not shown.
5 changes: 3 additions & 2 deletions vim/vimrc.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let mapleader = ','
let g:mapleader = ','

set history=1000 " change history to 1000
" set textwidth=80
set textwidth=120

" Tab control
set noexpandtab " insert tabs rather than spaces for <Tab>
Expand All @@ -30,6 +30,7 @@ set tabstop=4 " the visible width of tabs
set softtabstop=4 " edit as if the tabs are 4 characters wide
set shiftwidth=4 " number of spaces to use for indent and unindent
set shiftround " round indent to a multiple of 'shiftwidth'
set completeopt+=longest

if has('mouse')
set mouse=a
Expand Down Expand Up @@ -204,7 +205,7 @@ noremap <space> :set hlsearch! hlsearch?<cr>
nmap ;s :set invspell spelllang=en<cr>

" toggle invisible characters
set invlist
" set invlist
set listchars=tab:▸\ ,eol:¬,trail:⋅,extends:❯,precedes:❮
highlight SpecialKey ctermbg=none " make the highlighting of tabs less annoying
set showbreak=↪
Expand Down

0 comments on commit 62ca812

Please sign in to comment.