Permalink
Browse files

add slim support

  • Loading branch information...
1 parent 3e5272e commit 64e29a11ba7a412fdc95dfbe792fa0f5f80bd43e @wongyouth committed Apr 2, 2013
Showing with 18 additions and 10 deletions.
  1. +6 −6 README.md
  2. +2 −0 after/plugin/handlebars.vim
  3. +2 −0 after/plugin/slim.vim
  4. +1 −1 after/plugin/tabular.vim
  5. +4 −0 after/plugin/vim-css-hex.vim
  6. +1 −1 bundle/vundle
  7. +2 −2 gvimrc
View
@@ -57,16 +57,16 @@ Make sure you have `exuberant-ctags` installed for using vim-ctags.
### File explorer
-* `<F4>` - line number showing toggle
+* `<F3>` - use word under cursor as pattern to find all matching in the current file
+* `<C-F3>` - use word under cursor as pattern to replace all matching in the current file
+* `<F4>` - line number showing toggle (normal mode)
* `<F5>` - undo history toggle
* `<F6>` - open current file's folder in NERDtree
* `<F7>` - toggle NERDTree window
* `<F8>` - toggle tagbar window
* `<F11>` - exeucte `:only` to make current window maximized
* `<c-k>` - show buffer list
* `<c-p>` - features like Ctrl-p in textMate
-* `<F3>` - use word under cursor as pattern to find all matching in the current file
-* `<C-F3>` - use word under cursor as pattern to replace all matching in the current file
* `:Ggrep <pattern>` - for searching pattern in all files under git managed, `]q` open next matching, `[q` open previous matching, `[Q`, `]Q` for the first and last matching
### doc explorer
@@ -84,12 +84,12 @@ Make sure you have `exuberant-ctags` installed for using vim-ctags.
### Formatting
-* `<F4>` - toggle paste mode
+* `<F4>` - toggle paste mode (insert mode)
* `<F5>` - toggle Gundo window (history window)
-* `<F12>` - toggle mouse
+* `<F12>` - toggle mouse (for terminal vim)
* `\cc` - comment out
-* `\c<SPACE>` - revert comment out
+* `\c<SPACE>` - reverting comment out
* `\ff` - javascript formatting
@@ -0,0 +1,2 @@
+autocmd BufNewFile,BufRead *.hbs set filetype=handlebars
+
View
@@ -0,0 +1,2 @@
+autocmd BufNewFile,BufRead *.slimbars set filetype=slim
+
View
@@ -2,6 +2,6 @@ noremap <leader>a, :Tabularize /,<cr>
noremap <leader>a# :Tabularize /#<cr>
noremap <leader>a= :Tabularize /=<cr>
noremap <leader>a== :Tabularize /==<cr>
-noremap <leader>a: :Tabularize /:/r0c0l1<cr>
+noremap <leader>a: :Tabularize /:<cr>
noremap <leader>a\| :Tabularize /\|<cr>
noremap <leader>a> :Tabularize /=><cr>
@@ -0,0 +1,4 @@
+au BufEnter *.css,*.scss,*.sass,*.less call HexHighlight()
+au InsertLeave *.css,*.scss,*.sass,*.less call HexHighlight()
+au CursorMoved *.css,*.scss,*.sass,*.less call HexHighlight()
+au CursorMovedI *.css,*.scss,*.sass,*.less call HexHighlight()
View
4 gvimrc
@@ -1,10 +1,10 @@
"set guifont
if has("gui_macvim")
"for mac
- set guifont=Monaco:h13
+ set guifont=Monaco:h16
else
"for ubuntu
- set guifont=Monospace\ 11
+ set guifont=Monospace\ 12
endif
"colorscheme: blackboard github solarized

0 comments on commit 64e29a1

Please sign in to comment.