added nvim, swaylock config; updated river config

This commit is contained in:
Alexey 2025-06-23 18:46:36 +03:00
commit 09a12619c0
4 changed files with 133 additions and 9 deletions

30
nvim/init.lua Normal file
View file

@ -0,0 +1,30 @@
vim.o.number = true
vim.o.tabstop = 4
vim.o.shiftwidth = 4
vim.o.expandtab = true
vim.o.smartindent = true
vim.o.cursorline = true
vim.cmd( 'syntax enable' )
vim.cmd( 'filetype plugin indent on' )
vim.cmd( 'colorscheme slate' )
vim.cmd [[
highlight Normal guibg=NONE ctermbg=NONE
highlight NonText guibg=NONE ctermbg=NONE
highlight EndOfBuffer guibg=NONE ctermbg=NONE
]]
vim.cmd [[
call plug#begin()
Plug 'preservim/nerdtree'
Plug 'neovim/nvim-lspconfig'
call plug#end()
]]
vim.lsp.enable( 'lua_ls' )
vim.lsp.enable( 'rust_analyzer' )
vim.g.mapleader = ' '
vim.api.nvim_set_keymap( 'n', '<Leader>w', ':w<CR>', { noremap = true, silent = true } )