[2025-04-04] Colourscheme updates
This commit is contained in:
parent
7603f0de8e
commit
9ab155e3cf
3 changed files with 29 additions and 13 deletions
26
vim/.vimrc
26
vim/.vimrc
|
@ -6,7 +6,7 @@ syntax on
|
|||
set cursorline
|
||||
set cursorcolumn
|
||||
set nospell
|
||||
set autochdir
|
||||
"set autochdir
|
||||
|
||||
" disable wrapping
|
||||
set nowrap
|
||||
|
@ -16,9 +16,9 @@ set number
|
|||
set relativenumber
|
||||
|
||||
" colours
|
||||
set termguicolors
|
||||
"set termguicolors
|
||||
set bg=dark
|
||||
colo quiet
|
||||
colo default
|
||||
|
||||
""" MARKDOWN
|
||||
" have j and k navigate visual lines rather than logical ones
|
||||
|
@ -33,6 +33,15 @@ autocmd FileType markdown
|
|||
\setlocal spell|
|
||||
\setlocal spelllang=en_gb|
|
||||
|
||||
autocmd FileType typst
|
||||
\nmap <buffer> j gj|
|
||||
\nmap <buffer> k gk|
|
||||
\setlocal wrap|
|
||||
\setlocal linebreak|
|
||||
\setlocal nolist|
|
||||
\setlocal spell|
|
||||
\setlocal spelllang=en_gb|
|
||||
|
||||
" use H and L for beginning/end of line
|
||||
map H ^
|
||||
map L $
|
||||
|
@ -41,3 +50,14 @@ set mouse=nv
|
|||
|
||||
set shiftwidth=4
|
||||
set tabstop=4
|
||||
|
||||
command! Q :q
|
||||
command! W :w
|
||||
command! Qa :qa
|
||||
command! Wq :wq
|
||||
|
||||
noremap <C-C> "+y
|
||||
" noremap <C-V> "+p
|
||||
cnoremap <C-V> <C-r>+
|
||||
imap <C-V> <C-r>+
|
||||
inoremap jj <ESC>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue