vimrc updates

* add completeopt property
* don't show invisible characters by default
* dictionary updates
This commit is contained in:
Nick Nisi
2015-05-16 09:33:41 -05:00
parent 15469ec9ad
commit 62ca812552
3 changed files with 9 additions and 2 deletions

View File

@@ -67,3 +67,9 @@ AMD
repo
vim
namespace
touchstart
touchend
mousedown
mouseup
pointerup
pointerdown

View File

@@ -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>
@@ -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
@@ -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=↪