This is a fork of nvim-lua/kickstart.nvim and kickstart-modular.nvim.
'stable' and latest 'nightly' of Neovim.
External Requirements:
- Basic utils:
git
,make
,unzip
, C Compiler (gcc
) - ripgrep
- Clipboard tool (xclip/xsel/win32yank or other depending on platform)
- A Nerd Font: optional, provides various icons
- if you have it set
vim.g.have_nerd_font
ininit.lua
to true
- if you have it set
- Language Setup:
- If want to write Typescript, you need
npm
- If want to write Golang, you will need
go
- etc.
- If want to write Typescript, you need
NOTE See Install Recipes for additional Windows and Linux specific notes and quick install snippets
Neovim's configurations are located under the following paths, depending on your OS:
OS | PATH |
---|---|
Linux, MacOS | $XDG_CONFIG_HOME/nvim , ~/.config/nvim |
Windows (cmd) | %userprofile%\AppData\Local\nvim\ |
Windows (powershell) | $env:USERPROFILE\AppData\Local\nvim\ |
{
"description": "Caps Lock to Esc, Long Press is Left Control",
"manipulators": [
{
"from": {
"key_code": "caps_lock",
"modifiers": {
"optional": [
"any"
]
}
},
"to": [
{
"key_code": "left_control"
}
],
"to_if_alone": [
{
"key_code": "escape"
}
],
"type": "basic"
}
]
}
Persistent
InstallKeybdHook
SetTitleMatchMode 2
SetTimer DisableCaps, 100
; Disables CapsLock when WezTerm is active
DisableCaps()
{
if WinActive("ahk_exe wezterm-gui.exe")
{
SetCapsLockState "AlwaysOff"
}
else
{
SetCapsLockState GetKeyState("CapsLock", "T")
}
}
; If CapsLock is pressed on its own, it works like Escape.
; If it is held down, it functions like Left Control.
#HotIf WinActive("ahk_exe wezterm-gui.exe")
Capslock::
{
Send "{LControl Down}"
KeyWait "CapsLock"
Send "{LControl Up}"
if ( A_PriorKey = "CapsLock" )
{
Send "{Esc}"
}
return
}