Commit Graph

137 Commits (quarto)

Author SHA1 Message Date
iGor milhit 455c17a81d
wip plugins: configure environment for quarto
- Installs and configures the nvim-quarto plugin.
- Adds needed plugins and configuration from diving in the quarto
  kickstart configuration, which is damn huge.
- Adds the marksman parser for markdown, with its configuration.
- Adds the quarto filetype to the pandoc pluging.
- Loads the markdown snippets for the quarto filetype.
- Adds language support for treesitter.
- Sets folding based on treesitter method for quarto files.
- Installs and configure vim-slime plugin in order to execute emmbedded
  code (but it doesn't work as it misses a LOT of configuration).
- Documents very shortly the added plugins in the README.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-10-10 16:26:11 +02:00
iGor milhit bd142e38b1
plugins: folds .md frontmatter and code blocks
- Folds the frontmatter YAML and fenced code blocks in markdown file.
- Removes unneccessary filetype for lazy loading markdown plugins.
- Moves a markdownpreview settings that was wrongfully placed in the
  pandoc plugin configuration.
- Lazy loads mkdnflow plugin for quarto filetype.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-10-10 14:40:45 +02:00
iGor milhit cf209d6e52
plugins: improve slightly the treesitter config
- Adds an empty module options to avoid warning.
- Indents the disabled language list, in order to add some easily.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-10-04 14:22:34 +02:00
iGor milhit 3e3d308717
core: add a python provider configuration
- Adds a configuration to use a virtual environment as the python
  provider.
- Documents it shortly.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-10-04 08:24:33 +02:00
iGor milhit 6799b381be
snippets: add an hugo snippet for streaming
- Adds an HUGO snippet for streaming audio tag.
- Improves the existing HUGO snippet with correct brackets escaping.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-08-28 17:25:22 +02:00
iGor milhit 014b8d7bd5
keymaps: set prefixes to improve search experience
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-08-22 16:31:49 +02:00
iGor milhit 28fdaddcf8
plugins: add a keymap to display markdown TOC
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-08-20 16:23:24 +02:00
iGor milhit d795b51bd2
snippets: add an hugo snippet for blockquote
- Adds a snippet useful when writting markdown content in hugo that
  helps using a shortcode for a blockquote, with language code, author,
  title, link and the quoted text.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-08-19 17:42:52 +02:00
iGor milhit 01ad6147aa
plugings: move from true-zen to zen-mode
- Removes the true-zen.nim plugin.
- Adds the zen-mode.nvim plugin in hope of a better and simpler
  experience.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-08-13 12:19:52 +02:00
iGor milhit 484594cde7
global: rewrite the minimal config file
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-08-11 08:05:58 +02:00
iGor milhit fe25313c23
global: rewrite configuration from scratch
- Allows me to better understand what are doing the installed plugins
  and depedencies.
- Improves the structure of the configuration, in order to ease
  the maintenance.
- Improves markdown experience, even if it can still be improved.
- Documents the configuration in the README file.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-08-08 11:33:12 +02:00
iGor milhit 6f5f205cca
options: set breakindent to true
- Sets the breakindent option to true. It should allow vim-pandoc to
  handle list with hard wrap with better indentation, as I want.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-06-19 14:49:55 +02:00
iGor milhit 6da0e99882
plugins: install the new version of venv-selector
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-06-19 14:09:18 +02:00
iGor milhit f62d11367d
snippets: adapt the running frontmatter
- Adapts the frontmatter for running post, as I don't follow any
  program right now.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-06-07 18:08:13 +02:00
iGor milhit 8d88251119
snippets: add snippets for reference comment in md
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 13:39:32 +02:00
iGor milhit 721a2c02a8
project: remove unused files
- Removes unused files.
- Delete the kickstart project README.
- Documents the fact that the documentation is missing.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:21:50 +02:00
iGor milhit cb115340d5
config: add a minimal config file for debug
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit df27a91f63
theme: set the adwaita colorscheme
- Sets the Adwaita colorscheme, also for lualine.
- Remove the marksman parser.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit 112a214e11
html: unset the textwidth for html filetype
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit fa63aa9445
pandoc: disable treesitter for markdown
- Disables treesitter for markdown to avoid conflicts with vim-pandoc*
  plugins.
- Sets the folding level to 1 for pandoc filetypes.
- Moves to a nord light theme.
- Fixes the treesitter configuration.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit de01104408
json: add support of schemastore schemas
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit 60c7aacd4e
options: set shiftwidth and softtabstop
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit b17723a4b5
plugins: add venv-selector
- Adds `venv-selector` to ease the setting of the needed virtual
  environment for python.
- Adds pyright as a python LSP server.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit 2959893e49
plugins: improve LuaSnip configuration
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit e4b1d5b473
plugins: set neotree width
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit 1810cf9a24
mason: remove tectonic configuration for build
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit 0dcc705e89
snippets: add snippet for running session commits
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:44 +02:00
iGor milhit 03b0239539
snippets: add frontmatter snippet for running post
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:43 +02:00
iGor milhit e4a0a7b220
markdown: enable autowriteall for markdown files
- Enables `autowriteall` for markdown files (pandoc filteype, as I use
  the vim-pandoc plugin).
- Modify the rules to ignore spell files.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:43 +02:00
iGor milhit cbd7159754
plugins: improve config, remove unused plugins
- Updates the configuration according to the indent blankline plugin
  version 3.
- Removes the ZenMode plugin as I should have done long ago.
- Lazy loads the Rainbow CSV plugin.
- Adds a keymap (<leader>ch) for the command history picker of
  telescope.
- Removes the kickstart big comment on top of the init.lua file.
- Removes the config file that I don't remember the utility.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:43 +02:00
iGor milhit e32e55cb82
projet: ignore the spell directory
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:43 +02:00
iGor milhit 8310bfb34b
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>
2024-05-16 12:06:43 +02:00
iGor milhit 195075d96c
snippets: add HTML and commit snippets
- Creates a new file for custom HTML snippets.
- Creates 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.
- Creates a snippet for commit message to save working hours.
- Creates snippet for incremental note commits.
- Creates snippet for AoU stats commits.
- Removes redundant markdown snippets for the date.
- Improves the markdown snippet for incremental note entry.
- 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>
2024-05-16 12:06:43 +02:00
iGor milhit 8162a01e8e
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>
2024-05-16 12:06:43 +02:00
iGor milhit 4484afbca5
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>
2024-05-16 12:06:43 +02:00
iGor milhit 983dfae04c
completion: add completion for text in the buffer
- Adds completion capabilities for text (in the current buffer), with
  the help of `cmp-buffer`).
- Set the keyword_length to 4 in order to lighten the buffer completion.
- 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.
- Add a markdown snippet to add a tags line in my incremental notes
  (journal).
- Expand the French dictionnary.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:43 +02:00
iGor milhit 054c4defa5
plugins: improve configuration, install plugins
- Fixes the markdown preview node package installation.
- Removes the markdown preview theme configuration.
- Adds the ToggleTerm plugin that allows to improve the managment of
  terminal buffers and configures it.
- Ensures to use the legacy tag for the fidget plugin, as it will be
  under active development and rewritting.
- Installs Grammalect, which is a French language checker. This plugin
  requires the python package `Grammalecte` that provide
  `grammalecte-cli` and `grammalecte-server`.
- Sets, in the mkdnflow configuration, the `perspective.priority` to
  `current` to get the follow link feature behaves as I need, relative
  to the current buffer.
- Fixes, in the mkdnflow configuration, 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>
2024-05-16 12:06:43 +02:00
iGor milhit 6c0e0b4de1
snippets: load my own, add markdown snippets
- Renames the snippets folder to my_snippets.
- Lazy loads my snippets.
- Creates two snippet example available for all filetypes.
- Creates three snippets for markdown filetype.
- Creates a markdown snippet to get the number of the curret day.
- Creates a markdown snippet to get the current date.
- Creates a snippet to create a link in markdown reference syntax.
- Creates a generic frontmatter snippet.
- Creates a frontmatter snippet for my incremental notes (journal).
- Improves the description and description syntax of my markdown
  snippets.
- Adds the telescope luasnip plugin.
- Sets a keymaping to fuzzy search all available snippets (<leader>ss).
- Documents the feature of the plugin that provides the snippets search
  through telescope.
- Enables the search highlighting.
- Removes unnecessary lualine separator.
- Renames the neo-tree plugin file.
- Lazy loads the zen-mode for markdown files.
- 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.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:42 +02:00
iGor milhit cc2ec20a73
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>
2024-05-16 12:06:42 +02:00
iGor milhit bfbd5df274
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>
2024-05-16 12:06:20 +02:00
iGor milhit 94adb9ba82
markdown: configure the markdown environment
- Adds the `markdown-preview.nvim` plugin.
- Adds the two `vim-pandoc` and `vim-pandoc-syntax` for the support of
  markdown syntax and for file conversions with pandoc.
- Sets basic options (max width of 79 chars).
- Restores the `.gitignore` rules of the kickstart.nvim project.
- Adds and configures the Nordic colorscheme plugin.
- Sets the English, French and German spelling.
- Adds the `mkdnflow` plugin to get notebook features.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:20 +02:00
iGor milhit 9f773efbcb
global: rewrite neovim config based on kickstart
- Copies all kickstart files here.
- Rename my config to init.vim.save.
- Add the markdown preview plugin.
- Add the neo-tree plugin, as explained in the REAME.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-05-16 12:06:20 +02:00
iGor milhit 1cddbe754e
coloscheme: restore the nord theme
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-02 14:41:30 +02:00
iGor milhit f6c7eb87f2 plugins: sets Goyo width when activating to 85
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-04-13 12:54:02 +02:00
iGor milhit 3ec0e78450
plugins: simplify vimtex configuration
- Simplifies the vimtex configuration by removing tectonic options in
  order to avoid keeping build files.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-03-31 11:27:32 +02:00
iGor milhit 6fe4acbaf8 plugin: add and configure toggleterm
- Add and configure the Toggleterm plugin to improve the use of terminal
  inside neovim.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-03-23 14:06:02 +01:00
iGor milhit 2e8f13aa4a
plugin: configure vimtex with tectonic
Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-03-23 13:57:05 +01:00
iGor milhit 4816e4a2c2
config: set zsh for shell option
Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-03-09 10:52:13 +01:00
iGor milhit 7ff5472176
snippets: implement the use of snippets
- Create a new folder for snippets.
- Creates an HTML snippet.
- Creates a Markdown snippet.
- Adds auto commands in the configuration to fill in new buffer with the
  snippets.
- Documents the creation of the symlink in the README in order to get
  the snippets working.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-03-02 09:10:50 +01:00
iGor milhit 925010f10d
documentation: update the README
- Simplifies the README.
- Adds a requirements.txt with python depedencies for the virtualenv.
- Removes mentions of unused plugins and unnecessary depedencies.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2022-12-09 11:58:40 +01:00