-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
46 lines (43 loc) · 926 Bytes
/
.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
if exists('g:vscode')
" VSCode extension
else
" ordinary Neovim
" Search
set nocompatible
set path+=**
set wildmenu
" Edit configurations
set tabstop=2
set expandtab
set softtabstop=2
set autoindent
set shiftwidth
set backspace=indent,eol,start
set showmatch
set matchtime=1
set formatoptions+=mM
set formatoptions-=ro
set formatoptions=q
set pumheight=10
" Display configurations
set number
set ruler
set list
set listchars=tab:>.,trail:_,extends:>,precedes:<,nbsp:%
set wrap
set display=lastline
set laststatus
set cmdheight=2
set showcmd
set title
set encoding=utf-8
set fileencodings=utf-8,iso-2022-jp,euc-jp,sjis
set fileformats=unix,dos,mac
syntax on
" Keymaps
imap ( ()<Left>
imap [ []<Left>
imap { {}<Left>
cnoremap <C-p> <Up>
cnoremap <C-n> <Down>
endif