Commit Graph

110 Commits (8b2ceabd65e1fec1e2c578fe079fb09c845867a5)

Author SHA1 Message Date
iGor milhit 8b2ceabd65
plugins: add keymap for the command history picker
- Adds a keymap (<leader>ch) for the command history picker of
  telescope.
- Removes the kickstart big comment on top of the init.lua file.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-10-06 15:27:09 +02:00
iGor milhit 57f28c0b7c
plugins: remove the ZenMode plugin
- Removes the ZenMode plugin as I should have done long ago.
- Lazy loads the Rainbow CSV plugin.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-10-06 09:53:03 +02:00
iGor milhit 78cfbf1c10
plugins: update config to the ibl version 3
- Updates the configuration accordingly to the indent blankline plugin
  version 3.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-10-06 09:47:39 +02:00
iGor milhit e8ebd9f7ad
git: ignore the spell directory
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-23 15:11:34 +02:00
iGor milhit f5816f3639
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-23 15:11:34 +02:00
iGor milhit a478ee9829
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>
2023-08-23 15:11:29 +02:00
iGor milhit f1d5af9e6f
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-23 15:10:23 +02:00
iGor milhit 5ce8f4285a
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-23 15:10:23 +02:00
iGor milhit 93a825e952
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>
2023-08-23 15:09:20 +02:00
iGor milhit 13e1faf10c
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>
2023-08-23 14:56:58 +02:00
iGor milhit 7c52a10de3
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>
2023-08-23 08:31:22 +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
iGor milhit 02ca7d1d2b
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 14:44:52 +02:00
iGor milhit 25c736d4f7
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>
2023-08-22 11:44:57 +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
iGor milhit 1d090273ff
xelatex: configure compiler
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-06-27 07:50:33 +02:00
iGor milhit 386f36380b
documentation: document how to set fzf preview colors
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-06-03 17:44:13 +02:00
iGor milhit 1b605a3c81
colors: remove solarized file
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-06-03 17:34:59 +02:00
iGor milhit 831b199845
plugins: reorder fzf plugins
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-06-03 17:33:58 +02:00
iGor milhit 5725ad1086
plugins: remove jedi as coc-jedi is used
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-05-30 10:39:38 +02:00
iGor milhit 4ad8d1981c
configuration: remove nvim default setting
* Removes nvim setting that are enabled by default.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-05-21 08:14:50 +02:00
iGor milhit 59f6ec0a76
plugins: add vim-sass-colors plugin
* Activates terminal GUI colors

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-04-15 15:20:09 +02:00
iGor milhit 2341129f38
filetypes: improve organisation of filetype config
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-02-24 15:27:43 +01:00
iGor milhit 40ea31f0b1
plugins: add vimtex and coc-vim-tex
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-02-21 17:32:32 +01:00
iGor milhit 73cab051e7
documentation: update the README
* Writes a clearer description on how I'm using neovim.
* Improves the documentation on my use of vim-plug.
* Begins to list the python dependencies.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-02-17 09:09:54 +01:00
iGor milhit aa4cc035df
plugins: replace deoplete by coc for autocompletion
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-02-15 09:05:40 +01:00
iGor milhit cba995323f
plugins: add the tpope vim-repeat plugin
* Adds the tpope vim-repeat plugin.
* Avoid to track file changes in the cifs mounted directory, otherwise
  neovim will need to access it when saving a file or closing.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-02-11 10:37:27 +01:00
iGor milhit 4a590babed
search: enable incremental search
Co-Authored-by: iGor milhit <igor@milhit.ch>
2021-01-17 18:01:51 +01:00
iGor milhit cb020beafc markdown: add a config for preview with pandoc
* Use the pyenv python provider

Co-Authored-by: iGor milhit <igor@milhit.ch>
2020-12-13 13:57:18 +01:00
iGor milhit 8b5b1afffa plugins: add fzf-checkouts plugin
* Adds a configuration to make markdown preview working with pandoc
  filetypes.

Co-Authored-by: iGor milhit <igor@milhit.ch>
2020-12-13 13:57:18 +01:00