Commit Graph

6 Commits (7fa37ec5d548f2272cdc0cde817da97b1e1dace8)

Author SHA1 Message Date
iGor milhit 7fa37ec5d5
snippets: fix the inc front matter
- Fixes the front matter for the incremental notes files, removing
  unnecessary metadata and adding the id.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 16:16:16 +02:00
iGor milhit 929aa5e36a
mkdnflow: adapt follow link behavior
- Sets the `perspective.priority` to `current` to get the follow link
  feature behaves as I need, relative to the current buffer.
- Fixes the new file template to avoid a blank column at the begining
  (results in an invalid YAML syntax).

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 16:16:15 +02:00
iGor milhit 9214c3e2a7
completion: set buffer completion to 4 chars
- Set the keyword_length to 4 in order to lighten the buffer completion.
- Add a markdown snippet to add a tags line in my incremental notes.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 16:16:14 +02:00
iGor milhit 784638e3b7
completion: add completion for text in the buffer
- Adds completion capabilities for text (in the current buffer), with
  the help of `cmp-buffer`).
- Expand the French dictionnary.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 16:16:14 +02:00
iGor milhit 0dbcf730bf
snippets: load my own, add markdown snippets
- Renames the snippets folder to my_snippets.
- Loads my snippets.
- Creates two snippet example available for all filetypes.
- Creates three snippets for markdown filetype.
- Adds the telescope luasnip plugin.
- Sets a keymaping to fuzzy search all available snippets (<leader>ss).
- Adds a snippet to create a link in markdown reference syntax.
- Adds a frontmatter snippet for my incremental notes (journal).
- Replace the fronmatter snippet for markdown with a formatted one,
  easier to read.
- Improves the description of my markdown snippets.
- Enables the search highlighting.
- Removes unnecessary lualine separator.
- Renames the neo-tree plugin file.
- Lazy loads the zen-mode for markdown files.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 16:13:52 +02:00
iGor milhit e33c6e1b80
global: improve the configuration
- Adds the rainbow_csv plugin to improve CSV file support.
- Sets mutliple filetypes for markdown plugins (`pandoc`, `markdown`).
  - `mkdnflow`.
  - `markdownpreview`.
  - `marksman` language server (but it doesn't work for pandoc
    filetype).
- Sets folding level to 1 to fold from the level 2 headings.
- Adds completion capabilities for paths.
- Adds to the pandoc filetype the markdown snippets.
- Adds a markdown template for new files created inside mkdnflow.
- Adds all useful filetypes for mkdnflow.
- Adds a keymap to fuzzy search open buffers (<leader>sb).
- Updates the English dictionnaries.
- Installs the German dictionnaires.
- Fixes the concatenation of strings for the pyenv path.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 16:12:12 +02:00