Skip to content

leomao/pika-vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pika-nvim

Version: 0.4.0

My neovim configuration

This configuration is only tested on my own environments.

How to Use

Dependencies

Optional Dependencies

These are needed if you want to use all features.

  • g++/clang (for compile c++ programs)
    • clangd provides LSP support.
  • (xe)latex compiler (for latex usage)
  • rust (and rust_analyzer)
  • pyright

Deploy

To use this configuration, run following commands:

$ git clone --depth=1 -b neovim https://github.com/leomao/pika-vim.git
$ ln -sr pika-vim ~/.config/nvim

Update Plugins

Execute :Lazy sync. See lazy.nvim for more details.

Common Shortcut

Currently both <Leader> and <LocalLeader> are <space>.

General

  • Save file <Leader>w
  • next buffer L
  • previous buffer H
  • close buffer <Leader>q
  • :nohl <Leader>/

Comment

See Comment.nvim

vimtex

  • Compile <Leader>ll
  • View <Leader>lv
  • View error <Leader>le
  • set main file: add %! TEX root=MAINFILE_RELATIVEPATH at the top of your file
  • you may want to add
$pdflatex = 'xelatex -synctex=1 -interaction=nonstopmode --shell-escape %O %S';

in ~/.latexmkrc.

LSP

TBD

Acknowledgement

This configuration borrowed lots of things from https://github.com/chmnchiang/vim.

About

My vim comfiguration

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages