Sovereign 8s.is mirror of standardgalactic/vimrc-conf
  • CSS 64.5%
  • HTML 35.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
includeovalle 53e234033b vim greep
2022-02-09 20:52:51 -06:00
.workSnips vim greep 2022-02-09 20:52:51 -06:00
.vimrc vim greep 2022-02-09 20:52:51 -06:00
ArrowFunction arrow function 2021-12-24 17:42:05 -06:00
ArrowFunctionEvent arrow function 2021-12-24 17:42:05 -06:00
Button for, if 2022-01-02 23:28:54 -06:00
collation mas personalizado todo vim 2021-07-05 12:01:49 -05:00
Console Snipets, autocompletado, cambio de directorio 2021-09-07 09:34:09 -05:00
Effect componentes de react 2021-07-05 00:23:36 -05:00
Flexbox Flexbox 2022-01-01 14:12:06 -06:00
For for, if 2022-01-02 23:28:54 -06:00
Function for, if 2022-01-02 23:28:54 -06:00
FunctionEvent for, if 2022-01-02 23:28:54 -06:00
If for, if 2022-01-02 23:28:54 -06:00
import_file import files 2022-01-27 20:17:44 -06:00
import_file_default import files 2022-01-27 20:17:44 -06:00
index mas personalizado todo vim 2021-07-05 12:01:49 -05:00
Layout for, if 2022-01-02 23:28:54 -06:00
Leeme.txt instrucciones actualizadas 2021-07-05 00:39:37 -05:00
reactApp Snipets, autocompletado, cambio de directorio 2021-09-07 09:34:09 -05:00
reactComponent arrow function 2021-12-24 17:42:05 -06:00
README.md final documentacion 2022-02-05 21:48:41 -06:00
serverDb Instrucciones 2021-03-22 13:59:37 -05:00
States mas personalizado todo vim 2021-07-05 12:01:49 -05:00
WebpackCommon Snipets, autocompletado, cambio de directorio 2021-09-07 09:34:09 -05:00

vimrc-conf


For first timers

Download all files from github/includeovalle
1 Primero descarga los archivos de github/includeovalle


2 Download this plugin in order to easily install this 4 pluggins
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

  • Plug 'itchyny/lightline.vim'
  • Plug 'mattn/emmet-vim'
  • Plug 'morhetz/gruvbox'
  • Plug 'Yggdroot/indentLine'

2 Descarga este manejador de plugins para instalar estos 4 plugins curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

  • Plug 'itchyny/lightline.vim'
  • Plug 'mattn/emmet-vim'
  • Plug 'morhetz/gruvbox'
  • Plug 'Yggdroot/indentLine'

3 After that we open vim and execute this command :PlugInstall
3 Despues abrimos vim y corremos :PlugInstall


4 In folder ~/ create a folder named .nodeSnips so you can access cd ~/.nodeSnips/
4 En el directorio ~/ crea un folder llamado .nodeSnips de modo que sea cd ~/.nodeSnips/

cd ~/
mkdir .nodeSnips


5.-Copy all files of the this folder to ~/.nodeSnips/
5.-Copia todos los archivos de este folder a ~/.nodeSnips/


DONE enjoy from some snipets as well as some configurations
¡¡LISTO!! disfruta de algunos snipets y configuraciones
DISFRUTA de tus templates para vim


Mode Command Result

Node-Snipets


normal <leader>ni template estandar de index node
normal <leader>nb template estandar para insertar collation de node
normal <leader>nc template estandar de conexion mongo - node

React-Snipets


normal <leader>rc template estandar de functionComponent react - node
normal <leader>re template estandar de useEffect react - node
normal <leader>rs template estandar de useState react - node]
normal rf :r! cat ~/.nodeSnips/Function2kffs
normal rfe :r! cat ~/.nodeSnips/FunctionEvent2kffs
normal <leader>ra template estandar de arrow function
normal rae :r! cat ~/.nodeSnips/ArrowFunctionEvent2kJbf{o
normal for :r! cat ~/.nodeSnips/For2kfxs
normal if :r! cat ~/.nodeSnips/If3kwa!
normal btn :r! cat ~/.nodeSnips/Button/Fecha
normal <leader>lay template estandar de layout react
normal <leader>flex template estandar de styled-components
normal idf mq yiw gg :r! cat ~/.nodeSnips/import_file_default/xzfce0f/a
normal inf mq yiw gg :r! cat ~/.nodeSnips/import_file/xzfce0f/a
normal <leader>rc template estandar de arrow function
normal <leader>c insert a console.log()
normal mq :r! cat ~/.nodeSnips/css/media-queries

Vim Commands


normal <F1> Enter to your ~/.nodeSnips folder,
normal <F2> Enter to your ~/.vimrc
normal <F4> Buffer list and pick one same as :ls <cr> :b
normal <F5> Updates to last vimrc local conf ~/.vimrc same as :so ~/.vimrc
normal <leader><Tab> saves document and jumps to last document opened
normal <leader>w saves the current document same as :w
normal <leader>q saves the current document same as :q
normal <leader>{1-9} =Jump to tab 1, 2,3, 4 etc as you need
normal <leader>e edit a file same as :e
normal <leader>f shows a command we need to put inside the quotes the word to look for in the current directory
normal <leader>s Search and replace a word for the word we enter on the entire document
normal <leader>; insert // at the begining of the line
normal <leader>/ insert <CR>
normal <leader>h moves to left window
normal <leader>j moves to down window
normal <leader>k moves to up window
normal <leader>l mover to right window
normal <leader>a same as G may jump to {1-999} line or to last bottom of the document
normal <leader>ff shows all coincidences in the document from the word under the cursor
normal <leader>ss Search and replace a word for the word we enter on the entire document
normal <leader>cp copies the whole document to the clipboard
normal <leader>z{ folding { with a char infront example: function(){}
normal <leader>{ folding { with nothing infront example: {}
normal <leader>z[ folding
normal <leader>[ folding
normal <leader>z( folding
normal <leader>( folding
normal <shift>T open new tab
normal <control>y insert explore window same as :Lexplore
insert <TAB> shows an autocomplete menu

MACROS


let @p puts the current word between quotes ""
let @o puts the current word between {}
let @u puts the current word between ()
let @i puts the current word between ''


Comandos GIT


normal <Leader>gs :! git status<CR>
normal <Leader>gc :! git commit -a -m''
normal <Leader>ga :! git add .<CR>
normal <Leader>gp :! git push -u origin<CR>