Răsfoiți Sursa

change vim tabstop to 2

Weiyi Lou 13 ani în urmă
părinte
comite
b81e34af3b
2 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 1 1
      pentadactyl/pentadactylrc
  2. 3 3
      vim/vimrc

+ 1 - 1
pentadactyl/pentadactylrc

@@ -1,4 +1,4 @@
 " pentadactyl gui options
 " pentadactyl gui options
 " right scroll, bottom scroll, Cmdline outside status, Bookmark bar, Tab number, Status bar
 " right scroll, bottom scroll, Cmdline outside status, Bookmark bar, Tab number, Status bar
 set guioptions=rbCBns
 set guioptions=rbCBns
-set defsearch=duckduckgo-ssl
+" set defsearch=duckduckgo-ssl

+ 3 - 3
vim/vimrc

@@ -58,11 +58,11 @@ endif
 """"""""""""""""""""""""""""""""""""""""""""""""""""""
 """"""""""""""""""""""""""""""""""""""""""""""""""""""
 
 
 set expandtab       " change to single spaces
 set expandtab       " change to single spaces
-set tabstop=4       " actual tab press distance
+set tabstop=2       " actual tab press distance
 set shiftround      " indent to nearest tabstops
 set shiftround      " indent to nearest tabstops
-set shiftwidth=4    " amount to indent with > and <
+set shiftwidth=2    " amount to indent with > and <
 set smarttab        " backspace tabs where appropriate even if spaces
 set smarttab        " backspace tabs where appropriate even if spaces
-set softtabstop=4   " let backspace delete indent
+set softtabstop=2   " let backspace delete indent
 set wrap lbr        " wrap long lines of text
 set wrap lbr        " wrap long lines of text
 set backspace=eol,start,indent "backspace over everything
 set backspace=eol,start,indent "backspace over everything
 set textwidth=80
 set textwidth=80