From 4c19c190070a9cec6683e9f38fee13305172d882 Mon Sep 17 00:00:00 2001 From: amelia squires Date: Wed, 13 Nov 2024 06:34:26 -0600 Subject: readme --- init.fnl | 8 +++++--- readme.md | 24 ++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 3 deletions(-) diff --git a/init.fnl b/init.fnl index 76deb15..eb7af43 100644 --- a/init.fnl +++ b/init.fnl @@ -4,9 +4,11 @@ (global settings (require :settings)) -(require :keybinds) -(require :defaults) -(require :opt) +(when (~= (vim.fn.getenv :NVIM_DEBUG) 1) + (require :keybinds) + (require :defaults) + (require :opt)) + (local util (require :util)) (tset _G :util util) diff --git a/readme.md b/readme.md index 9640c33..0b36101 100644 --- a/readme.md +++ b/readme.md @@ -7,3 +7,27 @@ requires * neovim >= 0.10 (i think) * find + +to install, put this repo in ~/.config/nvim, run `NVIM_DEBUG=1 nvim` then run both :PackerInstall and :PackerCompile + +to start out, press space for a window with common commands. try li to setup a normal ide like layout + +additionally f can be used to enter "floating mode" + - {h,j,k,l} : resize in that direction + - {h,j,k,l} : move window in that direction + +in normal mode use {h,j,k,l} to switch to the window in that direction + +### configuration + +#### lsp + +to set what lsps you want to use use `:lua settings.lsp = "language"` where "language" is a comma seperated list of language servers. for a list checkout :help lspconfig-all + +the default is "pyright,lua_ls,clangd,zls,csharp_ls,ts_ls,rust_analyzer" + +#### colorscheme + +set with `:lua settings.colorscheme = "colorscheme"` + +defaults as "oxocarbon" -- cgit v1.2.3