Win11上nvim配置文件目录路径设置
Windows下neovim的相关配置。
默认情况下nvim的配置文件位置在~/AppData/Local/nvim/init.lua
,如果设置了XDG_CONFIG_HOME
,则配置文件位置在$XDG_CONFIG_HOME/nvim/init.lua
。
专注于工业物联网行业数据采集,嵌入式Linux系统裁剪,5G智慧网关软件开发等
Windows下neovim的相关配置。
默认情况下nvim的配置文件位置在~/AppData/Local/nvim/init.lua
,如果设置了XDG_CONFIG_HOME
,则配置文件位置在$XDG_CONFIG_HOME/nvim/init.lua
。
记录一下vim操作空白字符的相关方式,现在包括删除空行、删除行首空格以及删除行尾空格。
本文记录了如何在neovim中配置自定义的swapfile路径。
Lua配置: vim.go.directory = vim.fn.expand('~/.nvim/swapfiles//') .. ',!,'
本文通过使用NFS Server工具在WIN11上搭建NMS Server,打通Linux开发环境到嵌入式板子之间的通路,优化Linux服务器与嵌入式板子之间的多次SCP拷贝操作。
Windows下的NFS Server工具来自于Networking Software for Windows (hanewin.net)
告诉当前用户系统的运行时长。
用法:uptime [options]
# ubuntu
$ uptime
09:39:24 up 266 days, 15:14, 9 users, load average: 0.04, 0.11, 0.15
$ nproc
80
# busybox
$ uptime
01:39:51 up 8:39, load average: 0.71, 0.72, 0.69
$ nproc
1
什么是 LSP(Language Server Protocol)?
LSP 如何工作?
neovim 是怎么支持 LSP 的以及要如何配置 LSP?
nvim-lspconfig,mason 等插件的安装配置。
下面是vim的配置文件,使用时需要将其拷贝到用户目录下,然后安装vundle
插件管理器(git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
),最后启动vim
执行PluginInstall
。
当前已经配置的插件有NerdTree
、YCM
、ALE
、airline
等
规则中的recipe
由一条或多条shell
命令组成, 并会按照顺序执行。
通常,这些命令执行的结果就是更新target
。
Linux用户可以使用多种不同的shell
程序,但Makefile
中的recipe
是由/bin/sh
来解释。