Advertisement
Guest User

Untitled

a guest
Sep 1st, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 2.44 KB | None | 0 0
  1. syntax enable
  2. set number
  3. set rtp+=/usr/local/opt/fzf
  4.  
  5. set ruler
  6. au Filetype python setl et ts=4 sw=4
  7. au BufReadPost *.cuh set filetype=c
  8. set tabstop=4
  9. set shiftwidth=4
  10. set backspace=indent,eol,start
  11. set incsearch
  12. set showmatch
  13.  
  14. set nocompatible              " be iMproved, required
  15. filetype off                  " required
  16.  
  17. set noeb vb t_vb=
  18.  
  19.  
  20. nnoremap <C-J> <C-W><C-J>
  21. nnoremap <C-K> <C-W><C-K>
  22. nnoremap <C-L> <C-W><C-L>
  23. nnoremap <C-H> <C-W><C-H>
  24. nnoremap <C-Left> :tabprevious<CR>
  25. nnoremap <C-Right> :tabnext<CR>
  26.  
  27. " set the runtime path to include Vundle and initialize
  28. set rtp+=~/.vim/bundle/Vundle.vim
  29. call vundle#begin()
  30. " alternatively, pass a path where Vundle should install plugins
  31. "call vundle#begin('~/some/path/here')
  32.  
  33. " let Vundle manage Vundle, required
  34. Plugin 'VundleVim/Vundle.vim'
  35.  
  36. " The following are examples of different formats supported.
  37. " Keep Plugin commands between vundle#begin/end.
  38. " plugin on GitHub repo
  39. Plugin 'tpope/vim-fugitive'
  40. " The sparkup vim script is in a subdirectory of this repo called vim.
  41. " Pass the path to set the runtimepath properly.
  42. Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
  43. Plugin 'w0rp/ale'
  44. Plugin 'thinca/vim-quickrun'
  45. Plugin 'vim-airline/vim-airline'
  46. Plugin 'vim-airline/vim-airline-themes'
  47. Plugin 'flazz/vim-colorschemes'
  48. Plugin 'ntpeters/vim-better-whitespace'
  49. Plugin 'airblade/vim-gitgutter'
  50. Plugin 'scrooloose/nerdtree'
  51. Plugin 'valloric/youcompleteme'
  52.  
  53. let g:ycm_keep_logfiles = 1
  54. let g:ycm_log_level = 'debug'
  55. let g:airline_powerline_fonts = 1
  56. let g:airline#extensions#tabline#enabled = 1
  57. let g:show_spaces_that_precede_tabs=1
  58. let g:ycm_global_ycm_extra_conf = '~/.ycm_extra_conf.py'
  59. let g:ale_c_checkpatch_executable = '~/u-boot-ballast/tools/checkpatch.pl'
  60.  
  61. " let g:airline_theme='badwolf'
  62. " All of your Plugins must be added before the following line
  63. call vundle#end()            " required
  64. filetype plugin indent on    " required
  65. " To ignore plugin indent changes, instead use:
  66. "filetype plugin on
  67. "
  68. " Brief help
  69. " :PluginList       - lists configured plugins
  70. " :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate
  71. " :PluginSearch foo - searches for foo; append `!` to refresh local cache
  72. " :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal
  73. "
  74. " see :h vundle for more details or wiki for FAQ
  75. " Put your non-Plugin stuff after this line
  76. map <C-o> :NERDTreeToggle<CR>
  77. colorscheme solarized
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement