Weiyi Lou 10 лет назад
Родитель
Сommit
79d3a961af

+ 0 - 1
vim/plugins.vim

@@ -18,7 +18,6 @@ Plug 'haya14busa/vim-asterisk'
 Plug 'joonty/vdebug'
 Plug 'matchit.zip'
 Plug 'scrooloose/nerdcommenter'
-Plug 'sjl/gundo.vim'
 Plug 'terryma/vim-multiple-cursors'
 Plug 'tpope/vim-endwise'
 Plug 'tpope/vim-fugitive'

+ 0 - 2
vim/settings/gundo.vim

@@ -1,2 +0,0 @@
-" Gundo
-"nnoremap <silent> <Leader>u :GundoToggle<CR>

+ 0 - 2
vim/settings/markdown.vim

@@ -1,2 +0,0 @@
-""""""""" Vim Markdown
-let g:vim_markdown_folding_disabled = 1

+ 0 - 26
vim/settings/mouse.vim

@@ -1,26 +0,0 @@
-""""""""
-"" UI - Mouse & Cursor
-""""""""""""""""""""""""""""""""""""""""""""""""""""""""
-
-" The following two settings are related to how vim reacts to the incoming $TERM
-" value from either the terminal emulator (e.g. iTerm2) or tmux. In the best
-" case, both of these should be set to xterm-256color. This will result in vim
-" reacting with the settings below:
-"set ttymouse=xterm2 " Needed to allow mouse support to resize windows
-"set ttyfast " Allows for instantaneous refresh when using the mouse to select
-
-" Mouse support enabled.
-set mouse=a
-
-" Toggle mouse support.
-nnoremap <silent> <Leader>m :call ToggleMouse()<CR>
-
-function! ToggleMouse()
-  if &mouse == 'a'
-    set mouse=
-    echo 'Mouse usage disabled'
-  else
-    set mouse=a
-    echo 'Mouse usage enabled'
-  endif
-endfunction

+ 0 - 0
vim/settings/powerline.vim → vim/settings/statusline.vim


+ 0 - 1
vim/settings/supertab.vim

@@ -1 +0,0 @@
-let g:SuperTabDefaultCompletionType = 'context'

+ 1 - 0
vim/vimrc

@@ -34,6 +34,7 @@ set textwidth=80   " try to keep text within 80 characters
 set colorcolumn=+1 " mark out the limits of the textwidth
 set hidden         " allow changing buffers without unsaved-warnings e.g. for argdo
 
+set mouse=a                    " Mouse support enabled.
 set splitright                 " Puts new vsplit windows to the right of the current
 set splitbelow                 " Puts new split windows to the bottom of the current
 set backspace=indent,eol,start " Backspace for dummies