Compare commits
3 Commits
1c6d88d588
...
master
Author | SHA1 | Date | |
---|---|---|---|
95da01a030 | |||
4d261ef46e | |||
2f81c2a5eb |
@ -112,8 +112,7 @@ font:
|
|||||||
# - (Linux/BSD) monospace
|
# - (Linux/BSD) monospace
|
||||||
# - (Windows) Consolas
|
# - (Windows) Consolas
|
||||||
#family: monospace
|
#family: monospace
|
||||||
# Next time: Check for Cascadia (Code|Mono) PL
|
family: "CaskaydiaCove NF" # Cascadia Code with patched nerd font
|
||||||
family: "Cascadia Code PL"
|
|
||||||
|
|
||||||
# if fallback is implemented
|
# if fallback is implemented
|
||||||
#family: Roboto Mono for Powerline 11
|
#family: Roboto Mono for Powerline 11
|
||||||
@ -124,7 +123,6 @@ font:
|
|||||||
#family: Monospace 16
|
#family: Monospace 16
|
||||||
|
|
||||||
# The `style` can be specified to pick a specific face.
|
# The `style` can be specified to pick a specific face.
|
||||||
#style: Regular
|
|
||||||
style: Regular
|
style: Regular
|
||||||
|
|
||||||
# Bold font face
|
# Bold font face
|
||||||
@ -166,7 +164,7 @@ font:
|
|||||||
#style: Bold Italic
|
#style: Bold Italic
|
||||||
|
|
||||||
# Point size
|
# Point size
|
||||||
size: 12.0
|
size: 14.0
|
||||||
|
|
||||||
# Offset is the extra space around each character. `offset.y` can be thought
|
# 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
|
# of as modifying the line spacing, and `offset.x` as modifying the letter
|
||||||
|
@ -79,7 +79,7 @@ function fish_prompt
|
|||||||
set arrow_color "$red"
|
set arrow_color "$red"
|
||||||
end
|
end
|
||||||
|
|
||||||
set -l arrow_user "$arrow_color➜ "
|
set -l arrow_user "$arrow_color→ "
|
||||||
if test "$USER" = 'root'
|
if test "$USER" = 'root'
|
||||||
set -e arrow_user
|
set -e arrow_user
|
||||||
set arrow_root "$arrow_color#"
|
set arrow_root "$arrow_color#"
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
" Load lua config
|
let mapleader = "\<space>"
|
||||||
lua require('config')
|
|
||||||
|
|
||||||
" General editor config
|
" General editor config
|
||||||
language en_US
|
language en_US
|
||||||
@ -8,6 +7,7 @@ set scrolloff=3
|
|||||||
set sidescroll=3
|
set sidescroll=3
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
|
set cursorline
|
||||||
set nowrap
|
set nowrap
|
||||||
set ignorecase
|
set ignorecase
|
||||||
set smartcase
|
set smartcase
|
||||||
@ -16,9 +16,10 @@ set mouse=a
|
|||||||
set showmatch
|
set showmatch
|
||||||
set undofile
|
set undofile
|
||||||
set shortmess=I "disable intro message
|
set shortmess=I "disable intro message
|
||||||
|
set splitbelow
|
||||||
|
set splitright
|
||||||
|
|
||||||
" Key mapping
|
" Key mapping
|
||||||
let mapleader = "\<space>"
|
|
||||||
nnoremap \\ :noh<cr> " Clear higlighting
|
nnoremap \\ :noh<cr> " Clear higlighting
|
||||||
|
|
||||||
set listchars=tab:▸\ ,eol:↵,space:.
|
set listchars=tab:▸\ ,eol:↵,space:.
|
||||||
@ -32,6 +33,8 @@ map <Leader>p "*p
|
|||||||
vmap < <gv
|
vmap < <gv
|
||||||
vmap > >gv
|
vmap > >gv
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
" jk is escape
|
" jk is escape
|
||||||
inoremap jk <ESC>
|
inoremap jk <ESC>
|
||||||
|
|
||||||
@ -46,3 +49,5 @@ fun! TrimWhitespace()
|
|||||||
endfun
|
endfun
|
||||||
command! TrimWhitespace call TrimWhitespace()
|
command! TrimWhitespace call TrimWhitespace()
|
||||||
|
|
||||||
|
" Load lua config
|
||||||
|
lua require('config')
|
||||||
|
Reference in New Issue
Block a user