Skip to content

Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as "vi" with most UNIX systems and with Apple OS X.

Notifications You must be signed in to change notification settings

yimjiajun/neovim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim-logo
Neovim Home

github_workflow_status

Installation

Install prerequisites packages and tools. The Neovim configuration file will been installed on ~/.config/nvim.

curl -sSL https://raw.githubusercontent.com/yimjiajun/.dotfiles/main/tools/nvim.sh | bash

Tools

  • lazy : Neovim Plugins Manager
  • fzf : Fuzzy Files Finder
  • htop : Linux resource monitor
  • bpytop : Linux resource monitor via python
  • ripgrep : Recursively directories for a regex pattern
  • lazygit : GUI git interface
  • gitui : GUI git interface written in rust
  • ncdu : Disk usage analyzer with an ncurses interface
  • dutree : Analyze file system usage written in Rust

Lsp (language server protocol)

Lsp-description

Clangd

Lsp-llvm-clangd

Getting started : how's to clangd

Cmake

Build rules implement by CMake, the necessary file compile_command.json will generated in build/ directory

  • force to generate compilie_command.json by configuration, if the file not generated in build stage
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1

Link the compilie_command.json on CWD / current working directory from source code project.

ln -s ${project}/build/compilie_command.json .

Customize Clangd

The compile_commands.json file may not be generated by a specific compiler, which can cause issues with the proper functioning of clangd and the inability to use LSP features.

Therefore, we need to customize and add its manually.

clangd setting guide:

Vim Tips

Vim Cheat Sheet / Vim 訣竅表格

  • vim basic keyboard features introductions

Vim Command Sheet

  • vim basic commands introduction

About

Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as "vi" with most UNIX systems and with Apple OS X.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published