Commit Graph

117 Commits (11d845f1ee92d933dfb568c8f4bee58a65bc122a)

Author SHA1 Message Date
iGor milhit 11d845f1ee
snippets: add snippet for incremental note commits
Co-Authored-by: iGor milhit <igor@milhit.ch>
2023-08-22 16:16:17 +02:00
iGor milhit 4e5765521a
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 16:16:16 +02:00
iGor milhit 2eb8f79be9
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 16:16:16 +02:00
iGor milhit 4ccbcf4aa1
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 16:16:16 +02:00
iGor milhit 7fa37ec5d5
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 16:16:16 +02:00
iGor milhit e6fd86020e
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 16:16:15 +02:00
iGor milhit 09c3dff4ab
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 16:16:15 +02:00
iGor milhit 929aa5e36a
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 16:16:15 +02:00
iGor milhit 80cf84259c
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 16:16:15 +02:00
iGor milhit 9214c3e2a7
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 16:16:14 +02:00
iGor milhit 6e1b358779
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 16:16:14 +02:00
iGor milhit 784638e3b7
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 16:16:14 +02:00
iGor milhit 23af0da4fa
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 16:16:14 +02:00
iGor milhit 927d51d18c
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 16:16:13 +02:00
iGor milhit 6a7555d38f
snippets: fix the date function for markdown
Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
2023-08-22 16:16:13 +02:00
iGor milhit b0d3bef870
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 16:16:13 +02:00
iGor milhit 692ff13e18
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 16:16:13 +02:00
iGor milhit 0dbcf730bf
snippets: load my own, add markdown 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).
- Adds a snippet to create a link in markdown reference syntax.
- Adds a frontmatter snippet for my incremental notes (journal).
- 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@unige.ch>
2023-08-22 16:13:52 +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