Compare commits

..

29 Commits

Author SHA1 Message Date
iGor milhit f5260511d9 spell: add two words in the French dictionary
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 12:06:29 +02:00
iGor milhit b38ae3f45e
completion: support non ascii with cmp-buffer
- Supports non ASCII chars in text completion (cmp-buffer).
- Restore the luasnip configuration inside the nvim-cmp configuration,
  as it is indeed closely related. I didn't understood it in the first
  place.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:53 +02:00
iGor milhit 4503013a65
snippets: add a snippet for AoU stats commit
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:52 +02:00
iGor milhit 9fb724a32d
snippets: add snippet for incremental note commits
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:52 +02:00
iGor milhit 69aa4a5cfd
snippets: add HTML snippets for library portal
- Creates a new file for custom HTML snippets.
- Adds three snippets to be used when updating the clinical medicine
  library portal with bibliographic descriptions:
  - A main HTML structure with CSS styling.
  - An item with some bibliographic description examples.
  - A list item with a link to an ebook online.
- Improves the LuaSnip configuration and moves it outside the nvim-cmp
  configuration.
- Increments the French personal dictionary.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:52 +02:00
iGor milhit a073c95ebe
snippets: add a snippet for commit message
- Adds a snippet for commit message to save working hours.
- Remove redundant markdown snippet for the date.
- Improve the markdown snippet for incremental note entry.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:52 +02:00
iGor milhit 525309113a
json: add configuration for JSON
- Adds the `json` parser to the treesitter languages for linting
  purpose.
- Adds `jsonls` as language server provider for JSON.
- Creates the `after/ftplugin` folders.
- Sets specific settings for JSON for folding method.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:52 +02:00
iGor milhit 373d358e4b
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 11:57:52 +02:00
iGor milhit cbf304d45c
telescope: add a plugin to use Ag
- Adds a plugin to use Ag The Silversearcher with Telescope.
- Improves some comments.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:52 +02:00
iGor milhit f0f0bc6a47
config: set changes preview
- Sets the `inccommand` option to `nosplit` to preview the changes
  before accepting them with the substitute command.
- Removes unused configuration.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:51 +02:00
iGor milhit 30225fd570
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 11:57:51 +02:00
iGor milhit 1ac295701b
plugin: install, configure Grammalecte
- Grammalecte is a French language checker. This plugin requires the
  python package `Grammalecte` that provide `grammalecte-cli` and
  `grammalecte-server`.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:51 +02:00
iGor milhit c940b3f6af
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 11:57:51 +02:00
iGor milhit e3e920572d
plugin: ensure to use the legacy tag for fidget
- Ensures to use the legacy tag for the fidget plugin, as it will be
  under active development and rewritting.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 11:57:51 +02:00
iGor milhit ed705e0321
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 11:57:51 +02:00
iGor milhit 57b003e89d
snippets: fix wrong function in md snippets
- Replace `get_date` by `get_datetime` in the frontmatter snippets for
  markdown.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 11:57:51 +02:00
iGor milhit 6291f35599
plugins: add a plugin to manage terminal
- Adds the ToogleTerm plugin that allows to improve the managment of
  terminal buffers.
- Configures it.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 11:57:51 +02:00
iGor milhit 5a95663e73
snippets: fix the date function for markdown
Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 11:57:50 +02:00
iGor milhit d27fc955bd
md preview: fix the node package installation.
- Fixes the markdown preview node package installation.
- Removes the theme configuration.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 11:57:50 +02:00
iGor milhit c467b30dbc
zenmode: Improve slightly the configuration
- Disables the foldcolumn which displays the fold level.
- Removes the backdrop to get a better color experience.
- Removes the colorcolumn in zen mode.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:50 +02:00
iGor milhit da9ea3751a
LSP: install and configure texlab
- Installs and configure texlab which provides LSP and linter for LaTeX.
  Should also allow to build a project, but It is failling right now, I
  don't get why.
- Adds a markdown snippet to get the number of the curret day.
- Adds a markdown snippet to get the current date.
- Improves the syntax of the markdown snippets descriptions.
- Documents the feature of the plugin that provides the snippets search
  through telescope.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:50 +02:00
iGor milhit 558932130f
snippets: add some markdown snippets
- Adds a snippet to create a link in markdown reference syntax.
- Adds a frontmatter snippet for my INC notes.
- 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.ch>
2023-08-22 11:57:50 +02:00
iGor milhit 423721e92d
snippets: load my own 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).

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 11:57:50 +02:00
iGor milhit d5abb8bc15
plugins: configure zen mode to be zenier
- Removes the sign column and disables the git sign plugin.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:50 +02:00
iGor milhit 10f9cd5fbb
python: fix the pyenv path
- Fixes the concatenation of strings for the pyenv path.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:50 +02:00
iGor milhit 29781fb96e
global: add completion capabilites
- Add completion capabilities for paths.
- Add to the pandoc filetype the markdown snippets.
- Add a markdown template for new files created inside mkdnflow.
- Add all useful filetypes for mkdnflow.
- Add a keymap to fuzzy search open buffers (<leader>sb).
- Removes the `vim.env.HOME` variable in the python3 provider, as it is
  not working properly.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 11:57:49 +02:00
iGor milhit c3b5f943f7
markdown: set mkdnflow to conceal links
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:49 +02:00
iGor milhit 08a762f3b2
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.
- Sets the python virtualenv as python3 provider.
- Updates the English dictionnaries.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:57:49 +02:00
iGor milhit a9a660bd1b
plugins: remove and install some
- Removes vim-rhubarb (github related).
- Sets autopairs and vim-surround.
- Adds and configures true-zen and twilight

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 11:55:36 +02:00
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@ return {
},
opts = {
window = {
backdrop = 1,
-- Set the window width (85 columns) and height (80%).
width = 85,
height = .8,
@ -25,6 +26,7 @@ return {
-- Disable line numbering, signcolumn and colorcolumn.
number = false,
signcolumn = "no",
colorcolumn = "0"
},
},
plugins = {
@ -32,6 +34,7 @@ return {
enabled = true,
ruler = false,
showcmd = false,
foldcolumn = "0"
},
gitsigns = { enabled = false },
},