746 | let g:UltiSnipsExpandTrigger="<tab>"
747 | let g:UltiSnipsJumpForwardTrigger="<tab>"
748 | let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
749 | let g:UltiSnipsListSnippets="<c-tab>"
776 | let g:unite_enable_start_insert = 1
777 | let g:unite_data_directory = expand("~/.vim/unite")
778 | let g:unite_source_history_yank_enable = 1
837 | nnoremap <Leader>/ :Unite grep -custom-grep-search-word-highlight=IncSearch -no-quit<CR><CR>
838 | nnoremap <Leader>// :Unite grep -custom-grep-search-word-highlight=IncSearch -no-quit<CR>
842 | nnoremap <C-p> :<C-u>Unite -buffer-name=files -start-insert -default-action=open file_rec/async:!<CR>
843 | nnoremap <C-p>p :<C-u>Unite -buffer-name=files -start-insert -default-action=open file_rec/async:
!reading_vimrc request {vimrc-url}
で追加できます。今のところ GitHub の URL にしか対応してなかった気がするので、pastebin のがダメかな
@username
を付けます 854 | nmap <leader>ql :Unite quickfix -direction=botright -no-quit <CR>
855 | nmap <leader>ll :Unite location_list -no-quit<CR>
862 | nmap <leader>e :VimFilerExplorer -project -split -invisible -no-quit<CR>
38 | " Highlight the part of a line that doesn't fit into textwidth
39 | Plug 'whatyouhide/vim-lengthmatters'
*'colorcolumn'* *'cc'*
'colorcolumn' 'cc' 文字列 (既定では "")
ウィンドウについてローカル
{Vi にはない}
{Vimが |+syntax| 機能付きでコンパイルされたときのみ有
効}
'colorcolumn' はスクリーンの列をコンマ区切りで指定する。指定された列は
ColorColumn (|hl-ColorColumn|) で強調表示される。テキストを整列すると
きに便利である。スクリーンの表示は遅くなる。
列番号は絶対値で指定するか、番号に '+' か '-' を前置して 'textwidth'
からの相対値として指定する。
:set cc=+1 " 'textwidth' の後の列を強調表示する
:set cc=+1,+2,+3 " 'textwidth' の後の3列を強調表示する
:hi ColorColumn ctermbg=lightgrey guibg=lightgrey
'textwidth' がゼロのときは '-' と '+' で指定されたアイテムは使用されな
い。最大で 256 個の列を強調表示できる。
997 | " Write file, call emacs for indenting, then reload
998 | " To use this:
999 | " :call EmacsIndent()
1000 | function! EmacsIndent()
1001 | let l:filename = expand("%:p")
1002 | w
1003 | echom system("emacs -batch " . l:filename . " --eval '(indent-region (point-min) (point-max) nil)' -f save-buffer -kill")
1004 | edit!
1005 | redraw
1006 | endfunction