Compare commits
2 commits
ec14b4d039
...
26e7ef412d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
26e7ef412d | ||
|
|
6e25dfe3b5 |
7 changed files with 29 additions and 0 deletions
|
|
@ -28,3 +28,12 @@ theme = Rose Pine Moon
|
|||
|
||||
background-opacity = 0.98
|
||||
background-blur = 3
|
||||
|
||||
window-padding-x = 10,10
|
||||
window-padding-y = 10,10
|
||||
|
||||
window-inherit-working-directory = true
|
||||
window-inherit-font-size = true
|
||||
window-theme = system
|
||||
|
||||
link-url = true
|
||||
|
|
|
|||
|
|
@ -8,3 +8,6 @@ ln -sf "$(pwd)/.zshrc" ~/.zshrc
|
|||
|
||||
echo "config.ghostty"
|
||||
ln -sf "$(pwd)/config.ghostty" ~/.config/ghostty/config.ghostty
|
||||
|
||||
echo "neovim"
|
||||
ln -sf "$(pwd)/nvim" ~/.config/nvim
|
||||
|
|
|
|||
3
nvim/init.lua
Normal file
3
nvim/init.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
require('options')
|
||||
require('keys')
|
||||
require('highlighting')
|
||||
2
nvim/lua/highlighting.lua
Normal file
2
nvim/lua/highlighting.lua
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
vim.cmd('syntax enable')
|
||||
vim.cmd('filetype plugin indent on')
|
||||
3
nvim/lua/keys.lua
Normal file
3
nvim/lua/keys.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
-- Leader key
|
||||
vim.g.mapleader = ' ' -- Space as the leader key
|
||||
vim.api.nvim_set_keymap('n', '<Leader>w', ':w<CR>', { noremap = true, silent = true })
|
||||
8
nvim/lua/options.lua
Normal file
8
nvim/lua/options.lua
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
vim.o.number = true
|
||||
vim.o.relativenumber = true
|
||||
vim.o.tabstop = 2
|
||||
vim.o.shiftwidth = 2
|
||||
vim.o.expandtab = true
|
||||
vim.o.smartindent = true
|
||||
vim.o.cursorline = true
|
||||
vim.o.termguicolors = true
|
||||
1
nvim/nvim
Symbolic link
1
nvim/nvim
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/home/gaiety/dotfiles/nvim
|
||||
Loading…
Add table
Reference in a new issue