diff options
| author | Sadeep Madurange <smadurange@users.noreply.github.com> | 2022-03-26 16:11:40 +0800 |
|---|---|---|
| committer | Sadeep Madurange <smadurange@users.noreply.github.com> | 2022-03-26 16:11:40 +0800 |
| commit | d6f05b87454501c764aed6be5118216d54a0ce00 (patch) | |
| tree | 05c43a18420addf2b692abb33333839f4dfcc956 /.vimrc | |
| parent | bce46eb1144c5d83a3bf1ac672a9f31926365f4d (diff) | |
| download | dotfiles-d6f05b87454501c764aed6be5118216d54a0ce00.tar.gz | |
Update vim config.
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -1,6 +1,5 @@ -set tabstop=4 -set shiftwidth=4 -set expandtab +set tabstop=2 +set shiftwidth=2 set nu syntax on @@ -8,10 +7,5 @@ syntax on set background=dark colorscheme murphy -inoremap " ""<left> -inoremap ' ''<left> -inoremap ( ()<left> -inoremap [ []<left> -inoremap { {}<left> -inoremap {<CR> {<CR>}<ESC>O -inoremap {;<CR> {<CR>};<ESC>O +map <C-K> :py3f /usr/share/clang/clang-format.py<cr> +imap <C-K> <c-o>:py3f /usr/share/clang/clang-format.py<cr> |
