laststatus = 3:启用全局状态栏,之前 neovim 对于每个 windows 都会有单独的状态栏,这导致在多个 windows 并存的情况下,每个 windows 的状态栏比较短,无法显示足够多的信息,比较鸡肋。 autocmds.lua 中则是一些辅助的自动命令: -- set indent to 2 for lua vim.api.nvim_create_autocmd("FileType", { patte...
vim.g.mapleader = " " vim.g.maplocalleader = " " local map = vim.api.nvim_set_keymap -- 复用 opt 参数 local opt = {noremap = true, silent = true } -- 取消 s 默认功能 map("n", "s", "", opt) -- windows 分屏快捷键 map("n", "sv", ":vsp<CR>", opt) map("n",...
I recommend downloading cmder terminal to have linux commands on windows.Here's the algorithm:Download nvim and unpack it to C:\Program Files\Add env variable linking to that folder. C:\Program Files\Neovim\bin\Create .config folder in ~/...
dstein64/vim-win : a Vim plugin for managing windows yorickpeterse/nvim-window : quickly switching between windows luukvbaal/stabilize.nvim : stabilize buffer content on window open/close events mattboehm/vim-accordion : set the maximum number of splits you want to see, and shrinks the res...
Make sure to disable unneeded plugins, as many of them don't make sense with VSCode. Specifically, you don't need any code highlighting, completion, LSP plugins, or plugins that spawn windows/buffers (nerdtree , fuzzy-finders, etc). Most navigation/textobject/editing plugins should be fine....
Install Neovim in a folder C:\UTILS\Neovim\ 1. Download: https://github.com/neovim/neovim/wiki/Installing-Neovim#install-from-download Latest stable release Assets 12: nvim-win64.zip 2. Install (Windows): https://github.com/neovim/neovim/wiki/Installing-Neovim ...
plugin-config 文件夹: 是对第三方插件的配置,未来每添加一个插件,这里就多一个配置文件。 utils 文件夹: 是对常见问题的修改,包括输入法切换,针对 windows 的特殊配置等。 配置Nerd Fonts 官网: Nerd Fonts - Iconic font aggregator, glyphs/icons collection, & fonts patcher ...
Windows Apply Make a backup of your current Neovim files: required Move-Item$env:LOCALAPPDATA\nvim$env:LOCALAPPDATA\nvim.bak optional but recommended Move-Item$env:LOCALAPPDATA\nvim-data$env:LOCALAPPDATA\nvim-data.bak Clone the config ...
alt+m:Open the file tree Ctrl+p/Ctrl+f:Search for files/global search SH : horizontal split screen SV : vertical Split screen (Split Vertically) SC Close so close Others and put Alt + h/j/k/l set to jump between windows. Ctrl + up, down, left and right or s s. SJ sk adjust...
Windows: %LOCALAPPDATA%\nvim\ginit.vim MacOS: ~/.config/nvim/ginit.vim Linux: ~/.config/nvim/ginit.vim Recommended ginit.vim: " Enable Mouse set mouse=a " Set Editor Font if exists(':GuiFont') " Use GuiFont! to ignore font errors GuiFont {font_name}:h{size} endif " Disable...