aboutsummaryrefslogtreecommitdiff
path: root/readme.md
blob: 3c26c2d2aa9ca20750686788a5f20829483be346 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
new and improved neovim config in fennel for some reason

use responsibly

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

if :PackerInstall isnt found, just relaunch `NVIM_DEBUG=1 nvim`

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"

#### layout

which layout to default to when launching, same name as the which-key selections (view them with <space>l)

## preview

![preview](image.png)