-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
46 lines (32 loc) · 1.07 KB
/
vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim' " Let Vundle manage itself, required
Plugin 'derekwyatt/vim-scala'
Plugin 'dracula/vim'
Plugin 'GEverding/vim-hocon'
Plugin 'terryma/vim-expand-region'
Plugin 'chaoren/vim-wordmotion'
Plugin 'terryma/vim-multiple-cursors'
" All of your Plugins must be added before the following line
call vundle#end()
filetype plugin indent on
syntax on
color dracula
:set number "Line numbers
" Identation configuration
"" tabstop -> Indentation width in spaces
"" shiftwidth -> Autoindentation width in spaces
"" expandtab -> Use actual spaces instead of tabs
:set tabstop=2 shiftwidth=2 expandtab
" Ignore case when searching
" Be careful, it also applies to search and replaces (aka substitutions).
:set ignorecase
" Commands
"" Json Formatting
com! FormatJSON %!python -m json.tool
"Copy all content to clipboard"
command CopyAll %y+
command Copy y+