Просмотр исходного кода

Set up the breakindent option

And updated the CopyMode command
wreed4 10 лет назад
Родитель
Сommit
7e89400f8d
1 измененных файлов с 5 добавлено и 2 удалено
  1. 5 2
      vimrc

+ 5 - 2
vimrc

@@ -387,9 +387,11 @@ set softtabstop=4
 set autoindent
 set nosmartindent
 set cindent
-
 set cino=t0,(0,
 
+set breakindent
+" set showbreak=↳
+set breakindentopt="min,sbr"
 
 " }}}
 
@@ -560,7 +562,8 @@ function! CopyMode() range
     tabnew
     setlocal nonumber
     setlocal norelativenumber
-    put c
+    setlocal showbreak=
+    normal [p
 endfunction
 
 " Diff original file (from help)