summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-08-05 15:27:38 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-08-05 15:27:38 +0200
commited65d548904234ad207fd9eacd242efe40fe3af3 (patch)
tree764cc9f38ba74e1aee36405b298ed8f7141544b8 /vimrc
parentebbba7b66f312ec3d21dc7d80b7c574b270286c5 (diff)
downloadvim-ed65d548904234ad207fd9eacd242efe40fe3af3.zip
vim-ed65d548904234ad207fd9eacd242efe40fe3af3.tar.gz
vimrc enables invitibles, set toggle shortcut, set used characters
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 480e163..42c821d 100644
--- a/vimrc
+++ b/vimrc
@@ -30,6 +30,7 @@ set nofsync
:au BufNewFile * :exe("0r! ~/.vim/skeletons.rb %:p " . &filetype)
:au Filetype html,xml,xsl source ~/.vim/scripts/closetag.vim
+set list
" set cursorline
" set cursorcolumn
set foldmethod=marker
@@ -52,6 +53,11 @@ set incsearch " do incremental searching
set number " show line number
set showmode " show current mode
+" toggle view invisible with \t
+nmap <leader>l :set list!<CR>
+
+" Use the same symbols as TextMate for tabstops and EOLs
+set listchars=tab:▸\ ,eol:¬
" remap vim-comentary : nmap \\ <Plug>Commentary
map <C-c> \\\