mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
45 lines
610 B
VimL
45 lines
610 B
VimL
" This is the `vimrc` config for VSVim (Visual Studio Vim Emulator)
|
|
" Put it in %Vim%\.vsvimrc
|
|
|
|
" Colemak Keys
|
|
|
|
" Arrow remap
|
|
noremap n j
|
|
noremap e k
|
|
noremap i l
|
|
nnoremap N 5j
|
|
nnoremap E 5k
|
|
vnoremap H ^
|
|
xnoremap H ^
|
|
onoremap H ^
|
|
vnoremap I $
|
|
xnoremap I $
|
|
onoremap I $
|
|
|
|
" Similar position to i
|
|
noremap l i
|
|
noremap L I
|
|
" ne[k]st
|
|
noremap k n
|
|
noremap K N
|
|
" [j]ump
|
|
noremap j e
|
|
noremap J E
|
|
|
|
" Normal minimal setup
|
|
|
|
noremap Y y$
|
|
set expandtab
|
|
set tabstop=4
|
|
set shiftwidth=4
|
|
set autoindent
|
|
set smartindent
|
|
set wrap
|
|
set scrolloff=3
|
|
set hlsearch
|
|
set incsearch
|
|
set ignorecase
|
|
set smartcase
|
|
|
|
set number
|
|
set relativenumber
|