All Projects → adelowo → godo

adelowo / godo

Licence: MIT license
(Neo)Vim plugin to navigate todos in Go projects with ease

Programming Languages

Vim Script
2826 projects

Projects that are alternatives of or similar to godo

skim.vim
vim support for skim
Stars: ✭ 127 (+876.92%)
Mutual labels:  neovim-plugin
iris.nvim
🌈 Generate color palettes based on Neovim colorschemes.
Stars: ✭ 45 (+246.15%)
Mutual labels:  neovim-plugin
tmux.nvim
tmux integration for nvim features pane movement and resizing from within nvim.
Stars: ✭ 299 (+2200%)
Mutual labels:  neovim-plugin
modes.nvim
Prismatic line decorations for the adventurous vim user
Stars: ✭ 299 (+2200%)
Mutual labels:  neovim-plugin
AutoSave.nvim
🧶 Automatically save your changes in NeoVim
Stars: ✭ 349 (+2584.62%)
Mutual labels:  neovim-plugin
nvim-todoist.lua
Todoist plugin for Neovim in pure Lua, inspired by https://github.com/romgrk/todoist.nvim, which you should use instead
Stars: ✭ 22 (+69.23%)
Mutual labels:  neovim-plugin
nvim-cheat.sh
cheat.sh integration for neovim in elegant way
Stars: ✭ 130 (+900%)
Mutual labels:  neovim-plugin
code runner.nvim
Neovim plugin.The best code runner you could have, it is like the one in vscode but with super powers, it manages projects like in intellij but without being slow
Stars: ✭ 234 (+1700%)
Mutual labels:  neovim-plugin
doctor.nvim
Emacs greatest feature, now also in neovim!
Stars: ✭ 27 (+107.69%)
Mutual labels:  neovim-plugin
vim-lineletters
because letters are easier to touch type than numbers
Stars: ✭ 38 (+192.31%)
Mutual labels:  neovim-plugin
nvim-lsp-ts-utils
Utilities to improve the TypeScript development experience for Neovim's built-in LSP client.
Stars: ✭ 437 (+3261.54%)
Mutual labels:  neovim-plugin
buftabline.nvim
A low-config, minimalistic buffer tabline Neovim plugin written in Lua.
Stars: ✭ 74 (+469.23%)
Mutual labels:  neovim-plugin
commented.nvim
Neovim commenting plugin in Lua. Support operator, motions and more than 60 languages! 🔥
Stars: ✭ 110 (+746.15%)
Mutual labels:  neovim-plugin
persistence.nvim
💾 Simple session management for Neovim
Stars: ✭ 238 (+1730.77%)
Mutual labels:  neovim-plugin
options.nvim
A small library to create custom options
Stars: ✭ 15 (+15.38%)
Mutual labels:  neovim-plugin
stable-windows
Keeps vim windows stable on layout changes
Stars: ✭ 41 (+215.38%)
Mutual labels:  neovim-plugin
gitabra
Magit-lite for neovim
Stars: ✭ 55 (+323.08%)
Mutual labels:  neovim-plugin
neovim-lua-plugin-boilerplate
Starter template for creating Neovim Lua plugins
Stars: ✭ 28 (+115.38%)
Mutual labels:  neovim-plugin
monolithic.nvim
Neovim plugin to open multiple files in one buffer
Stars: ✭ 35 (+169.23%)
Mutual labels:  neovim-plugin
beacon.nvim
Whenever cursor jumps some distance or moves between windows, it will flash so you can see where it is
Stars: ✭ 217 (+1569.23%)
Mutual labels:  neovim-plugin

Godo - Browse todos in your Go source code

Introduction

Godo is a plugin that allows you navigate through the todo messages in your Go project.

Godo in action It makes use of astitodo underneath.

Features

  • Fast browsing of todos.
  • Todos
    • View all todos in a specific file with :Godo.
    • View todos in a file sorted by assignees with :Godo assignee_name (e.g :Godo adelowo .)
    • View todos sorted by multiple assignees with :Godo assignee_name1 assignee_name2
    • Find all todos in the current folder opened.
    • Navigate to the source code line housing the todo message.
    • Show a nice warning message if there aren't any todo in the file.
  • Install astitodo binary by running :GodoInstallBinary.
  • Update astitodo binary by running :GodoUpdateBinary.

Installation

I recommend you use Vim-Plug to manage your vim plugins.

With Vim-Plug installed, put the following lines in your vimrc:

Plug 'adelowo/godo', { 'do': ':GodoInstallBinary' }

Then execute :PlugInstall in command mode.

GodoInstallBinary would fetch the astitodo library used for matching/finding todos.

Configuration

" Config for :GodoInstallBinary and :GodoUpdateBinary
" This values defaults to 0

let g:go_get_update = 1 " Make use of the -u flag when installing the astitodo library.
let g:godo_install_verbose = 1 " Make use of the -v flag when installing the astitodo library..

" The flags above are passed to `go get`. You would want to refer to the official godoc for `go get` to understand what this flags stand for

g:go_get_update is actually the same config defined by vim-go. If it doesn't exist, it is set to 0 anyways.

Todo Browsing

godo doesn't come with key mapping defaults..

To view todos in a file, open a file buffer and :Godo in command mode.. To map this to a key, you add this to your init.vim (.vimrc).

nmap <Leader>. :Godo<CR>

To filter todos in a file by assignees, you make use of :Godo assignee_name.

:Godo adelowo " Would show all todos assigned to adelowo

:Godo adelowo lanre username " Would show all todos assigned to the specificied usernames

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].