Compare commits

..

3 Commits

Author SHA1 Message Date
95da01a030 chore: update font name 2023-11-22 13:40:37 +01:00
4d261ef46e Update Neovim config
- cursorline
  - splitbelow and splitright
  - reorganize lua config and mapleader
2023-08-17 13:53:07 +02:00
2f81c2a5eb Change font to cascadia code with patched nerdfont 2023-08-17 13:49:08 +02:00
3 changed files with 11 additions and 8 deletions

View File

@ -112,8 +112,7 @@ font:
# - (Linux/BSD) monospace
# - (Windows) Consolas
#family: monospace
# Next time: Check for Cascadia (Code|Mono) PL
family: "Cascadia Code PL"
family: "CaskaydiaCove NF" # Cascadia Code with patched nerd font
# if fallback is implemented
#family: Roboto Mono for Powerline 11
@ -124,7 +123,6 @@ font:
#family: Monospace 16
# The `style` can be specified to pick a specific face.
#style: Regular
style: Regular
# Bold font face
@ -166,7 +164,7 @@ font:
#style: Bold Italic
# Point size
size: 12.0
size: 14.0
# Offset is the extra space around each character. `offset.y` can be thought
# of as modifying the line spacing, and `offset.x` as modifying the letter

View File

@ -79,7 +79,7 @@ function fish_prompt
set arrow_color "$red"
end
set -l arrow_user "$arrow_color "
set -l arrow_user "$arrow_color "
if test "$USER" = 'root'
set -e arrow_user
set arrow_root "$arrow_color#"

View File

@ -1,5 +1,4 @@
" Load lua config
lua require('config')
let mapleader = "\<space>"
" General editor config
language en_US
@ -8,6 +7,7 @@ set scrolloff=3
set sidescroll=3
set tabstop=4
set shiftwidth=4
set cursorline
set nowrap
set ignorecase
set smartcase
@ -16,9 +16,10 @@ set mouse=a
set showmatch
set undofile
set shortmess=I "disable intro message
set splitbelow
set splitright
" Key mapping
let mapleader = "\<space>"
nnoremap \\ :noh<cr> " Clear higlighting
set listchars=tab:▸\ ,eol:↵,space:.
@ -32,6 +33,8 @@ map <Leader>p "*p
vmap < <gv
vmap > >gv
" jk is escape
inoremap jk <ESC>
@ -46,3 +49,5 @@ fun! TrimWhitespace()
endfun
command! TrimWhitespace call TrimWhitespace()
" Load lua config
lua require('config')