Our great sponsors
vim-go | tig | |
---|---|---|
25 | 59 | |
15,830 | 12,141 | |
- | - | |
8.3 | 6.5 | |
5 days ago | 6 days ago | |
Vim Script | C | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
vim-go
-
nvim when I open an empty file from go
There are a handful of really good go plugins that take care of this for you, such as https://github.com/ray-x/go.nvim or https://github.com/fatih/vim-go
-
What's the most commonly used IDE for golang development ?
With vim-go and snippets, neovim has almost the same functionality as GoLand
- Is there any way to autocomplete language functions? For example, show things like fmt.Printf or fmt.Println when writing fmt.Print and pressing the autocomplete key.
-
Which editor do you use for your Go coding?
Neovim with its lsp integration. Yes, my configuration breaks whenever neovim is upgraded (it is < v1 after all). But usually I wait a little while, and then update plugins and I’m good to ‘go’. One very very good plug-in is https://github.com/fatih/vim-go. The wiki page has a suggested vimrc, which works very well to integrate things like identifier highlighting, and references.
with this wonderful plugin: https://github.com/fatih/vim-go
- What's your Golang IDE?
-
Anyone write Go full time using vim?
At first Ihad struggled with some common "IDE" tasks. But then I discovered vim-go and realized that it could do pretty much everything that I need and even more.
-
Share your must-know Go development tips
I use vim as an editor, and I think that vim-go (https://github.com/fatih/vim-go) is a huge help, if you use the "gd" shortcut to take you to where a variable, type or function is defined, and the ctrl-T shortcut to take you back. Use goimports (https://pkg.go.dev/golang.org/x/tools/cmd/goimports) as the vim-go code formatter. This will keep imports up-to-date. There are some other vim-go features that may be helpful. You can have it highlight syntax errors, for example. Not every feature is helpful to every programmer, however.
-
vim-rust go-to-definition doesn't work with standard library features
Maybe there's a reason why this isn't possible, but if I compare this work-flow with something like https://github.com/fatih/vim-go I can use go-to-definition for everything (whether it be a third-party package or a standard library feature such as fmt.Printf).
tig
- Tig: Text-Mode Interface for Git
-
Magit
I'd like to plug [tig](https://github.com/jonas/tig) for those who don't use emacs. I see lazygit recommended here too, but I've been using tig for years now and love it's simplicity.
-
Is there any solution like Github Desktop and Gitkraken For terminal Users
Try tig
-
What is your preferred version control software and what additional features do you wish it had?
I'm normally a CLI git (and tig) user.
-
TexStudio - git integration for easy committing?
Sometimes when I work in command line I use tig (https://jonas.github.io/tig/). There is also similar tool lazygit (https://github.com/jesseduffield/lazygit)
-
gti, gtti, giit, gut, gti, got, hit, jit, git <enter> {f%ck} <up-arrow-key>
And you accidently open a git TUI
-
This is how I use vim and git, any other tips?
tig +My custom command to fix MR comments by quickly editing an old commit's changes at the time when that commit was created. (Like a more controlled git-absorb that explicitly selects a commit to fixup and therefor avoids rebase-conflicts when squashing)
-
interactive git switch
If you are looking for more interactivity while remaining on the commandline, have you looked at Tig? Tig has a view for browsing refs, and you can sort by date.
-
Are there any TUI apps you recommend outside of ncdu / nnn / htop / vim / bat / fd / tig / duf?
Have you heard of tig for git? I use that
-
Project & File navigation
I use tig for browsing git. I've made some custom integrations in vim.
What are some alternatives?
lazygit - simple terminal UI for git commands
coc-go - Go language server extension using gopls for coc.nvim.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
go.nvim - A feature-rich Go development plugin, leveraging gopls, treesitter AST, Dap, and various Go tools to enhance the dev experience.
Go for Visual Studio Code
YouCompleteMe - A code-completion engine for Vim
gitui - Blazing 💥 fast terminal-ui for git written in rust 🦀
lazygit.nvim - Plugin for calling lazygit from within neovim.
gocode - An autocompletion daemon for the Go programming language
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
GNU/Emacs go-mode - Emacs mode for the Go programming language
kotlin-vim - Kotlin plugin for Vim. Featuring: syntax highlighting, basic indentation, Syntastic support