Procházet zdrojové kódy

Set up the breakindent option

And updated the CopyMode command
wreed4 před 10 roky
rodič
revize
7e89400f8d
1 změnil soubory, kde provedl 5 přidání a 2 odebrání
  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)