home: Disable Vim
This commit is contained in:
parent
e30971412d
commit
039596413d
1 changed files with 0 additions and 72 deletions
|
@ -228,78 +228,6 @@ in {
|
|||
serverAliveCountMax = 60;
|
||||
};
|
||||
|
||||
programs.vim = {
|
||||
enable = true;
|
||||
settings = {
|
||||
background = "dark";
|
||||
expandtab = false;
|
||||
number = true;
|
||||
shiftwidth = 4;
|
||||
tabstop = 4;
|
||||
};
|
||||
extraConfig = ''
|
||||
" no Vi compatibility
|
||||
set nocompatible
|
||||
|
||||
" Unicode support
|
||||
set encoding=utf-8
|
||||
|
||||
" special characters
|
||||
set list
|
||||
set listchars=tab:»·,trail:·,extends:…
|
||||
|
||||
set ruler
|
||||
|
||||
" movement
|
||||
noremap r h
|
||||
noremap R H
|
||||
noremap n j
|
||||
noremap t k
|
||||
noremap h l
|
||||
noremap H L
|
||||
|
||||
" beginning of previous word
|
||||
noremap p b
|
||||
|
||||
" end of word
|
||||
noremap l e
|
||||
noremap L E
|
||||
|
||||
" change one char
|
||||
noremap X s
|
||||
|
||||
" repeat search
|
||||
noremap ; n
|
||||
noremap : N
|
||||
|
||||
" paste
|
||||
noremap s p
|
||||
noremap S P
|
||||
|
||||
" join lines
|
||||
noremap N J
|
||||
|
||||
" change
|
||||
noremap e c
|
||||
noremap E C
|
||||
|
||||
" replace
|
||||
noremap z r
|
||||
noremap Z R
|
||||
|
||||
" inclusive jump
|
||||
noremap m f
|
||||
noremap M F
|
||||
|
||||
" exlusive jump
|
||||
noremap f t
|
||||
noremap F T
|
||||
|
||||
" command mode
|
||||
noremap - :
|
||||
'';
|
||||
};
|
||||
|
||||
programs.nushell = {
|
||||
enable = true;
|
||||
envFile.text = let
|
||||
|
|
Loading…
Reference in a new issue