Skip to content

zuqini/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim

Image

misc info

Icons/Italics/Ligatures
  • Install a patched font

  • Configure the installed font in your terminal

    • e.g. Iterm2 > Preferences > Profiles > Text > Font > Hack Nerd Font Mono
    • Enable ligatures

Alternatively if you don't want to setup icons, you can disable them at lua/configs/lualine.lua and vim/configs/nvim-tree.vim

Fzf
  • fd - better find utility
  • rg - better grep utility
  • bat - syntax highlighted previews when using fzf's native previewer
  • delta - syntax highlighted git pager for git status previews
Unity LSP
  • Omnisharp Language Server on Unix/Linux for Unity
    • Install Mono
    • In Unity, Unity > Preferences > External Tools, check off the options below and regenerate project files:
      • Embedded Packages
      • Registry Packages
      • Local Packages
    • You may need to add the following override to your .zshrc/.bashrc to point to the latest Mono version:
      export FrameworkPathOverride=/Library/Frameworks/Mono.framework/Versions/Current
      
nvim as an external editor in Godot

its pretty simple with nvim remote

create a bash script, make it executeable. add the following context:

#!/bin/bash
[ -n "$1" ] && file=$1
nvim --server ~/.cache/nvim/godot.pipe --remote-send ':e '$file'<CR>'

Now start nvim in your project folder and listen to the pipe file:

nvim --listen ~/.cache/nvim/godot.pipe .

Since you probably dont want to type out that huge path, each time you want to start nvim, make it another bashscript and add it to your globals. On my systems its simple named "gvim".

Add external config to your editor settings with the path to the first script: Screenshot from 2022-10-14 13-17-14

Done! if you click on the script icon in godot, nvim will open the file. Have fun!

Navigate to the root of your godot project (where the project.godot is residing) and start a new Neovim like this:

nvim --listen ./godothost

(on Windows you might have to specify a IP:port combination instead, like "127.0.0.1:9696")

Open menu Editor/Editor Settings/ then navigate to General/External/:

  • Tick Use external editor
  • Add nvim to Exec Path
  • Add --server ./godothost --remote-send "<C-\><C-N>:n {file}<CR>{line}G{col}|" to Exec Flags

now when you click on a script in godot it will open it in a new buffer in Neovim.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published