feat(nvim): update configuration
This commit is contained in:
parent
f5b275385c
commit
553a0f269c
@ -1,10 +1,11 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
config = {
|
config = {
|
||||||
|
# Set colorscheme
|
||||||
|
colorscheme = "gruvbox";
|
||||||
|
|
||||||
|
# Enable experimental lua loader
|
||||||
|
luaLoader.enable = true;
|
||||||
|
|
||||||
opts = {
|
opts = {
|
||||||
# Enable relative line numbers
|
# Enable relative line numbers
|
||||||
number = true;
|
number = true;
|
||||||
@ -87,7 +88,7 @@
|
|||||||
# Change cursor options
|
# Change cursor options
|
||||||
guicursor = [
|
guicursor = [
|
||||||
"n-v-c:block" # Normal, visual, command-line: block cursor
|
"n-v-c:block" # Normal, visual, command-line: block cursor
|
||||||
"i-ci-ve:block" # Insert, command-line insert, visual-exclude: vertical bar cursor with block cursor, use "ver25" for 25% width
|
"i-ci-ve:ver25" # Insert, command-line insert, visual-exclude: vertical bar cursor with block cursor, use "ver25" for 25% width
|
||||||
"r-cr:hor20" # Replace, command-line replace: horizontal bar cursor with 20% height
|
"r-cr:hor20" # Replace, command-line replace: horizontal bar cursor with 20% height
|
||||||
"o:hor50" # Operator-pending: horizontal bar cursor with 50% height
|
"o:hor50" # Operator-pending: horizontal bar cursor with 50% height
|
||||||
"a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor" # All modes: blinking settings
|
"a:blinkwait700-blinkoff400-blinkon250-Cursor/lCursor" # All modes: blinking settings
|
||||||
@ -95,7 +96,7 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
# Enable chars list
|
# Enable chars list
|
||||||
list = true; # Show invisible characters (tabs, eol, ...)
|
list = false; # Show invisible characters (tabs, eol, ...)
|
||||||
listchars = "eol:↲,tab:|->,lead:·,space: ,trail:•,extends:→,precedes:←,nbsp:␣";
|
listchars = "eol:↲,tab:|->,lead:·,space: ,trail:•,extends:→,precedes:←,nbsp:␣";
|
||||||
|
|
||||||
# More space in the neovim command line for displaying messages
|
# More space in the neovim command line for displaying messages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user