Skip to content

hitsz-qfy/nvim-tmux-configuration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim-tmux-configuration

Installation

Prerequest

  • vim: 8.2.3458

  • nvim: 0.4.4

  • ccls

build, then install

Install

  • tmux
$ sudo apt install tmux
  • jq
$ sudo apt install jq
  • nodejs
$ sudo apt install nodejs
  • openjdk
$ sudo apt install openjdk-17-jdk openjdk-17-jre

Plugin Install

  1. vim plug

For Vim

$ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

For Nvim

$ curl -fLo ~/.var/app/io.neovim.nvim/data/nvim/site/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  1. coc

Install esstential language server

:CocInstall coc-json coc-tsserver coc-ccls

My language server also contains:

  • coc-python
  • coc-pyright
  • coc-java
  • coc-xml

Simple Setup

$ cp coc-settings.json init.vim ~/.vim 
$ cp .vimrc .tmux.conf ~

Usage

Detailed operation is listed in .vimrc and .tmux.conf

For ROS dev

$ catkin build -DCMAKE_EXPORT_COMPILE_COMMANDS=1

Here you can find isolated compile_commands.json files under the directory of each ros package, then

$ jqros  # in the root of ros workspace

Then a compile_commands.json file concatenating json files from all ros packages is built.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published