Commit d1ef0386 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Move Vim non-breaking-space commands to own plugin

parent 9fda6ecd
Loading
Loading
Loading
Loading

.vim/plugin/nbs.vim

0 → 100644
+3 −0
Original line number Diff line number Diff line
" Convert spaces to non-breaking-spaces and vice-versa
au VimEnter * MapSubpress <Leader>n /\ / /g
au VimEnter * MapSubpress <Leader>b /\%u00a0/\ /g
+0 −4
Original line number Diff line number Diff line
@@ -226,10 +226,6 @@ set undofile undodir=~/.vim/undo/

" === MISC COMMANDS ===

" Convert spaces to non-breaking-spaces and vice-versa
au VimEnter * MapSubpress <Leader>n /\ / /g
au VimEnter * MapSubpress <Leader>b /\%u00a0/\ /g

" A homemade command to copy the unamed register up to tmux's buffers
map tp :call s:pasteup()<CR><ESC>
func! s:pasteup()