Commit Graph

119 Commits (ece93842f9ef5e44822f8b03cd4b85cb0ce2816d)

Author SHA1 Message Date
iGor milhit ece93842f9
html: unset the textwidth for html filetype
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-04-26 09:02:16 +02:00
iGor milhit e88e14a2d4
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-04-26 09:01:25 +02:00
iGor milhit 8993a005d9
json: add support of schemastore schemas
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-03-20 14:00:05 +01:00
iGor milhit d15338beb4
options: set shiftwidth and softtabstop
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-03-19 15:49:46 +01:00
iGor milhit 3930bda0c1
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-03-13 10:04:24 +01:00
iGor milhit 3e425d8349
plugins: improve LuaSnip configuration
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-02-27 12:32:53 +01:00
iGor milhit e99e156f1b
plugins: set neotree width
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-02-01 11:27:01 +01:00
iGor milhit f2c9a4bf71
mason: remove tectonic configuration for build
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-02-01 11:27:01 +01:00
iGor milhit 0a204cd462
snippets: add snippet for running session commits
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-02-01 11:27:01 +01:00
iGor milhit 52284e5a47
snippets: add frontmatter snippet for running post
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-02-01 11:27:01 +01:00
iGor milhit cda7ff36e3
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-02-01 11:27:00 +01:00
iGor milhit 481b13b37b
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-02-01 11:27:00 +01:00
iGor milhit c3c4d0fb08
projet: ignore the spell directory
Co-Authored-by: iGor milhit <igor@milhit.ch>
2024-02-01 11:26:35 +01:00
iGor milhit f9b7aa0279
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-10-17 11:27:02 +02:00
iGor milhit 7cb3422123
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-10-17 11:26:21 +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