aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.fnl8
-rw-r--r--readme.md24
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 <space>li to setup a normal ide like layout
+
+additionally <Ctrl>f can be used to enter "floating mode"
+ - <Ctrl>{h,j,k,l} : resize in that direction
+ - {h,j,k,l} : move window in that direction
+
+in normal mode use <Ctrl>{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"