Commit Graph

125 Commits (544891631a1d0dd0062e83adc86a190f8d2e0b3c)

Author SHA1 Message Date
iGor milhit 544891631a
json: add specific settings for JSON
- Creates the `after/ftplugin` folders.
- Sets specific settings for JSON for folding method.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-07-04 16:37:48 +02:00
iGor milhit 516ecbef92
json: add LSP and linter for JSON
- Adds `json` to the treesitter languages.
- Adds `jsonls` as language server provider for JSON.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-07-04 10:25:51 +02:00
iGor milhit 08b7169b54
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-07-03 09:36:04 +02:00
iGor milhit 80dd338b4a
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-07-01 21:44:56 +02:00
iGor milhit 769278dff9
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-06-30 16:30:44 +02:00
iGor milhit 1585f558ba
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-06-30 14:31:01 +02:00
iGor milhit 0f0b1ee56a
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-06-29 07:21:43 +02:00
iGor milhit 2ba65a9f5f
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-06-28 21:15:21 +02:00
iGor milhit 0fb6a4a7b4
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-06-22 16:08:59 +02:00
iGor milhit 97c6ac262e
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-06-22 15:30:23 +02:00
iGor milhit c02afa6bbe
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-06-20 09:14:17 +02:00
iGor milhit 53f0665f05
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-06-20 09:02:57 +02:00
iGor milhit 6e02172511 snippets: fix the date function for markdown
Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-06-16 15:45:35 +02:00
iGor milhit 049a6e7b14 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-06-16 15:45:35 +02:00
iGor milhit 1f9d1c7657
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-06-16 15:38:21 +02:00
iGor milhit b30b439e71
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-06-13 07:12:16 +02:00
iGor milhit 980b84a0e0
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-06-11 08:56:35 +02:00
iGor milhit c9af70e82e
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-06-09 15:17:37 +02:00
iGor milhit 402e5a9308
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-06-08 21:40:36 +02:00
iGor milhit 376091e78d
python: fix the pyenv path
- Fixes the concatenation of strings for the pyenv path.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-08 20:42:43 +02:00
iGor milhit aa2f3c9615
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-06-08 16:51:37 +02:00
iGor milhit fa8a07a7b8
markdown: set mkdnflow to conceal links
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-08 07:12:48 +02:00
iGor milhit 4ce0a81056
plugins: add and configure zen-mode and twilight
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-07 12:22:43 +02:00
iGor milhit 8eafbbedd7
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-06-07 11:30:31 +02:00
iGor milhit 6f316190e5
plugins: set autopairs, vim-surround
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-06 07:16:34 +02:00
iGor milhit a6a823e0d3
markdown: add mkdnflow plugin
- Adds mkdnflow plugin to add some notebook features.
- Removes the markdown and markdown_inline parsers for treesitter as it
  is not compatible with vim-pandoc-syntax (or the other way round).

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-01 21:21:10 +02:00
iGor milhit 0485ae6ed5
plugins: remove vim-rhubarb (github related)
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-06-01 07:20:55 +02:00
iGor milhit 1b188ceafd
markdown: améliore l'environnement markdown
- Installe les parsers pour markdown et markdown_inline.
- Ajoute et configure le plugins pour le colorscheme Nordic.
- Paramètre la correction orthographique pour l'anglais, le français et
  l'allemand.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-05-31 21:51:37 +02:00
iGor milhit 5c7726586f
markdown: ajoute des plugins pour le markdown
- Ajoute le plugin `markdown-preview.nvim` pour le preview.
- Ajoute les deux plugins vim-pandoc pour le support de la syntaxe
  markdown et pour les exports via pandoc.
- Définit des options de base (largeur maximale de 79 caractères.
- Restore les règles du `.gitignore` du projet kickstart.nvim.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-05-30 21:06:21 +02:00
iGor milhit 9cae3c7b03
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>
2023-05-29 12:23:55 +02:00
iGor milhit cd4462d745
colorscheme: return to nord colorscheme
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-05-29 09:47:49 +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
iGor milhit 0112dfe601
plugings: remove syntastic
- Removes syntastic as it is redundant with coc-vim.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2022-12-09 10:51:47 +01:00
iGor milhit 13a7e3860d
plugins: improve mkdnflow configuration
- Moves the lua block because it breaks the file color syntax.
- Disables mkdnflow modules that I don't use and that break my own
  settings (lists indentation).
- Adds a TODO for evaluating the feasability to replace vim-table by the
  tables module of mkdnflow.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2022-10-27 15:30:10 +02:00
iGor milhit 7c055de06e
plugins: add plugins for CSV and for md links.
Co-Authored-by: iGor milhit <igor@milhit.ch>
2022-10-25 16:42:49 +02:00
iGor milhit 37e28c58d1
plugins: remove uneccessary config for COC
* Removes key mapping for the coc-completion which does not use the
  built-in vim completion mechanism anymore.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2022-10-25 16:42:49 +02:00
iGor milhit c293cf8809
plugins: set edge light as color scheme
- Installs the edge and onehalf color schemes plugins.
- Removes the tokyonight color schemes.
- Sets edge light as main color scheme and as airline theme.
- Sets a background color for the selected item in the COC suggestion
  menu.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2022-10-25 16:42:48 +02:00
iGor milhit a27cc282bd
pyenv: replace hard path by environment variable
* Replaces the python virtualenv hard path by the $HOME environment
  variable in order to adapt to the user setting.
* Corrects a github URL to avoid the gitmemory one.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2022-02-25 16:19:55 +01:00
iGor milhit 0645bda9f4
doc: provide the python engine in a virtualenv
* Documents how to use `pyenv` to provide a virtual environment for the
  python engine.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2022-01-12 17:51:34 +01:00
iGor milhit 7909b50953
config: format memory option for autofs directories
* Delete unused `termguicolors` option.
* Improve readability of the memory option for autofs directories.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-12-29 12:17:40 +01:00
iGor milhit 69f59b3ea3
plugins: add devicons plugin to display icons
* Adds the devicons plugin that can display icons with the help of nerd
  patched fonts in some other plugins.
* Update the README accordingly, in the requirements section.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-12-09 19:43:52 +01:00
iGor milhit 3550265ff6 plugins: add the limelight plugin
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-11-23 21:38:52 +01:00
iGor milhit 172b784763
coc-vim: add linting for Sphinx and rst files
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-10-13 16:08:16 +02:00
iGor milhit d02bb711bd
plugins: add keybindings for fzf commands
* Removes ctrlP plugin and configuration.
* Stop opening nerdTree by default.
* Adds keybindings for fzf commands.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-07-26 09:15:51 +02:00