Commit 0135462c authored by Dom Sekotill's avatar Dom Sekotill
Browse files

moved .vim/plugins/indent.vim into .vimrc

parent 1f2e649a
Loading
Loading
Loading
Loading

.vim/plugin/indent.vim

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
set listchars-=tab:•◦
set listchars+=tab:•◦
map tl :set invlist
+21 −0
Original line number Diff line number Diff line
@@ -43,6 +43,20 @@ endif
let c_glib=1  "Enables GLib Highlighting
let c_pfs=1   "Enables PFS Project Highlighting


" === INVLIST ===

" Show tabs with •◦◦◦
set listchars-=tab:•◦
set listchars+=tab:•◦

" Call invlist with 'tl'
nmap <silent>tl :set invlist<CR>



" === HIGH-LIGHTING ===

" Some unwanted white-space high-lighting
highlight ExtraWhitespace ctermbg=darkgreen guibg=lightgreen
au BufWinEnter * match ExtraWhitespace /\v([^\t]+)@>\t+|(\s{2,}|(\w.*)@<!\s)$/
@@ -51,6 +65,13 @@ au BufWinEnter * match ExtraWhitespace /\v([^\t]+)@>\t+|(\s{2,}|(\w.*)@<!\s)$/
highlight LongLine ctermbg=red guibg=pink
au BufWinEnter * match LongLine /\v%81v[^\r]/

" Toggle search high-lighting with 'th'
nmap <silent>th :set hlsearch!<CR>



" === MISC COMMANDS ===

" A little home-made command for renaming the current file
command -nargs=1 -bang -complete=file Mv let orgFilename=expand("%")|f <args>|w<bang>|exec 'silent !rm '.orgFilename|redraw!