Skip to content

qaptoR-nvim/fantableous.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fantableous

fantableous is a markdown style table editor, generator, and spreadsheet engine written in lua and using treesitter. It is designed to be used alongside the neovim plugin nvim-orgmode/orgmode, or as a standalone tool.

Until this plugin reaches feature parity with dhruvasagar/vim-table-mode it is recommended to have that plugin installed as well. Conflicting keybinds should not matter since each feature provided is an atomic operation for each plugin. Otherwise you may want to ensure that this plugin is loaded second of the two, so that its keybinds take precedence.

Requirements

  • Neovim 0.10.0 or later
  • treesitter
  • optional: vim-table-mode

Installation

Use your favorite plugin manager:

lazy.nvim
{
 'qaptoR-nvim/fantableous.nvim',
}

Setup

no special steps required

Usage

Creating a Table on the Fly

  • todo
  • see vim-table-mode for current implementation

Moving Around

  • todo
  • see vim-table-mode for current implementation

Manipulating Tables

Move Cell Up

<leader>rtk

Move Cell Down

<leader>rtj

Move Cell Left

<leader>rth

Move Cell Right

<leader>rtl

  • expected behaviour in last column: will create a new column to the right of the current column and move the cell there

Move Column Left

<leader>rtH

Move Column Right

<leader>rtL

  • expected behaviour in last column: will create a new column to the right of the current column and swap them

Move Row Up

  • not implemented
  • suggest creating keybinds:
    • { '<A-k>', '<cmd>m .-2<cr>==', desc = 'move line up' },
    • { '<A-S-k>', '<cmd>m .-2<cr>gqgq', desc = 'move line up' },

Move Row Down

  • not implemented
  • suggest creating keybind:
    • { '<A-j>', '<cmd>m .+1<cr>==', desc = 'move line down' },
    • { '<A-S-j>', '<cmd>m .+1<cr>gqgq', desc = 'move line down' },

Delete Row

  • todo
  • see vim-table-mode for current implementation

Delete Column

  • todo
  • see vim-table-mode for current implementation

Insert Row Above

  • todo
  • see vim-table-mode for current implementation

Insert Row Below

  • todo
  • see vim-table-mode for current implementation

Insert Column Before

  • todo
  • see vim-table-mode for current implementation

Insert Column After

  • todo
  • see vim-table-mode for current implementation

Highlight Rows, Cells Based on Content

  • todo
  • see vim-table-mode for current implementation

Advanced Usage

Table Formulas

  • todo
  • see vim-table-mode for current implementation

Formula Expressions

  • todo
  • see vim-table-mode for current implementation

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages