-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
54 lines (41 loc) · 1.32 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
46
47
48
49
50
51
52
53
" ~/.vimrc (macOS)
"
" Compatibility of functionality with my terminal
" app and keymap settings.
"
" Neel Yadav
" 06.29.2021
" Vim startup and file remapping
set nocompatible
set viminfofile=~/.vim/viminfo
" Vundle plugin manager
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim " set the runtime path to include Vundle
call vundle#begin() " and initialize
Plugin 'VundleVim/Vundle.vim' " let Vundle manage Vundle, required
Plugin 'chriskempson/base16-vim' " to use base16-tomorrow-night theme
Plugin 'nathangrigg/vim-beancount' " beancount file syntax
call vundle#end() " required
filetype plugin indent on " required
" Tell Vim to use sane tab/spacing rules
set tabstop=4
set shiftwidth=4
set expandtab
" —————————————————————————————————————————————— "
syntax on
set notermguicolors t_Co=16
colorscheme base16-tomorrow-night
hi Normal ctermbg=NONE
hi Normal guibg=NONE
set mouse=a
if has("clipboard")
set clipboard=unnamed " copy to the system clipboard
if has("unnamedplus") " X11 support
set clipboard+=unnamedplus
endif
endif
if has('mouse_sgr')
set ttymouse=sgr
endif
imap <C-c> "+y<CR>
vmap <C-c> "+y<CR>