Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

highlight three columns after textwidth

  • Loading branch information...
commit 079e81552b44ee07ae69665a5cff0b264b754b99 1 parent 53ebe80
@wenbo authored
Showing with 14 additions and 0 deletions.
  1. +4 −0 .vimrc
  2. +1 −0 
  3. +9 −0 vimtutorial
4 .vimrc
@@ -60,3 +60,7 @@ set tags=/home/wenbo/src/tags/gems,/home/wenbo/src/tags/
nmap <F2> irequire "ruby-debug"<CR><ESC>
nmap <UP> <C-W>20+
nmap <DOWN> <C-W>20-
+set textwidth=80
+set cc=+1,+2,+3 " highlight three columns after 'textwidth'
+hi ColorColumn ctermbg=lightgrey guibg=lightgrey
1 
@@ -1 +1,2 @@
cp spec/api/requests_spec.rb{,bk}
+sudo chown -R `whoami` /var/log/cassandra
9 vimtutorial
@@ -64,3 +64,12 @@ CTRL-I Go to [count] newer cursor position in jump list
:mak[e][!] [arguments] 1. If vim was built with |+autocmd|, all relevant |QuickFixCmdPre| autocommands are executed.
:TOhtml ( 根 据 Vim 的 语 法 加 亮 的 方 式 生 成 HTML 代 码 )
+:e [file] Examine a new file.
+^X^V Same as :e.
+:n * Examine the (N-th) next file from the command line.
+:p * Examine the (N-th) previous file from the command line.
+:x * Examine the first (or N-th) file from the command line.
+:d Delete the current file from the command line list.
+= ^G :f Print current file name.
Please sign in to comment.
Something went wrong with that request. Please try again.