aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOxbian <got.dacs@slmail.me>2023-11-05 20:59:11 +0100
committerOxbian <got.dacs@slmail.me>2023-11-05 20:59:11 +0100
commit900c5ae36832b3426596b59cb89b6e5c1f87e38b (patch)
treeb21ef5b3613e13e865c18ca04333399662ed7883
parent1d4561690b8a267cd0ebf909a37f4ed320433a53 (diff)
downloadvimrc-900c5ae36832b3426596b59cb89b6e5c1f87e38b.tar.gz
vimrc-900c5ae36832b3426596b59cb89b6e5c1f87e38b.zip
Removing emmet plugins and cleaning readme
-rw-r--r--README.md29
-rw-r--r--vim/keymaps.vim4
-rw-r--r--vim/plugins.vim7
3 files changed, 10 insertions, 30 deletions
diff --git a/README.md b/README.md
index 8c4dc09..39817e3 100644
--- a/README.md
+++ b/README.md
@@ -38,7 +38,6 @@ This config has just the necessary plugins installed:
### Languages utilities
-- [Vim emmet](https://github.com/mattn/emmet-vim) html snippets & utilities to write html faster.
## Command & keybinds
@@ -89,6 +88,14 @@ Keybinds:
- `gh` show/hide hidden files,
- `gp` change permission of local file
- `I` show netrw banner,
+
+- `j/k` movement,
+- `-` go up one dir,
+- `<enter>` go down one dir,
+
+- `d` create a directory,
+- `%` create a file,
+- `R` rename/move a file,
### Vim Gutter
@@ -118,26 +125,6 @@ Keybinds:
- `<leader>lh` lsp hover,
- `<leader>ldf` format document.
-### Emmet
-
-For help, use `:help emmet`.
-Keybinds:
-- `<Alt-e>,` to create tags from an expression,
-- `<Alt-e>;` to create a tag from a word,
-- `<Alt-e>u` to update a tag,
-- `<Alt-e>d` to select a tag and the content of a block,
-- `<Alt-e>D` to select the content of a block,
-- `<Alt-e>n` to jump snippet next edit point,
-- `<Alt-e>N` to jump snippet previous edit point,
-- `<Alt-e>i` to add width and height on image tag,
-- `<Alt-e>m` to join multiline in one line,
-- `<Alt-e>k` to remove the content of a block,
-- `<Alt-e>j` to split join tag,
-- `<Alt-e>/` to comment a block,
-- `<Alt-e>a` to create an anchor (a href),
-- `<Alt-e>A` make quoted text from an url,
-- `<Alt-e>c` to convert a code block into html.
-
## Linters & fixers
### Python
diff --git a/vim/keymaps.vim b/vim/keymaps.vim
index dbb80de..9570949 100644
--- a/vim/keymaps.vim
+++ b/vim/keymaps.vim
@@ -91,10 +91,10 @@ endtry
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
""""""""""""""""""""""""
-" Fern
+" Netrw
"""""""""""""""""""""""
-" Toggle fern tree view
+" Toggle tree view
nnoremap <C-f> :Lexplore<CR>
""""""""""""""""""""
diff --git a/vim/plugins.vim b/vim/plugins.vim
index aa9754a..7822826 100644
--- a/vim/plugins.vim
+++ b/vim/plugins.vim
@@ -31,8 +31,6 @@ Plug 'prabirshrestha/asyncomplete-lsp.vim' " Autocompletion & connection with vi
Plug 'wakatime/vim-wakatime' " Wakatime
Plug 'ap/vim-css-color' " rgb, hex color preview
-" Language
-Plug 'mattn/emmet-vim', { 'for': ['html', 'css', 'js', 'vue'] }
call plug#end()
filetype plugin indent on " Allow filetype detection, plugins, indentation
@@ -73,7 +71,6 @@ set statusline+=\ \|\ [%{&fileformat}\]
set statusline+=\ \|\ %l:%c
set statusline+=\ [%p%%]\
-
" VIM lsp
let g:lsp_diagnostics_echo_cursor = 1
let g:lsp_diagnostics_virtual_text_enabled = 0
@@ -139,7 +136,3 @@ let g:which_key_map.l = {
\ 'h' : 'hover information',
\ 'df' : 'format document',
\ }
-
-" Emmet
-let g:user_emmet_leader_key='é'
-
ArKa projects. All rights to me, and your next child right arm.