added nvim, swaylock config; updated river config
This commit is contained in:
parent
c3f00795ba
commit
09a12619c0
4 changed files with 133 additions and 9 deletions
30
nvim/init.lua
Normal file
30
nvim/init.lua
Normal 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 } )
|
||||
Loading…
Add table
Add a link
Reference in a new issue