Add relevant plugins or mappings before or after plugins.
set nocompatible hidden laststatus=2
""""""""""""""""""""""""""""""""""
" PUT HERE YOUR MAPPINGS
""""""""""""""""""""""""""""""""""
-bottom-0 | |
-bottom-1 | |
-bottom-10 | |
-bottom-11 | |
-bottom-12 | |
-bottom-14 | |
-bottom-16 | |
-bottom-2 | |
-bottom-20 | |
-bottom-24 |
<template> | |
<div class=""> | |
<input v-model="user" type="text" /> | |
<input v-model="pass" type="password" /> | |
<button @click="login">Login</button> | |
<div class="">test: <button @click="test">test</button></div> | |
<div class="">user: <button @click="whoami">whoami</button></div> | |
<div class=""><button @click="logout">Logout</button></div> | |
<div class=""> |
# where's installed current version? | |
which nvim | |
# what's current version? | |
nvim -v | |
# make tmp folder | |
mkdir -p ~/tmp | |
cd ~/tmp |
# Example build script | |
git clone https://github.com/neovim/neovim.git | |
cd neovim | |
make install | |
mv build/bin/nvim /usr/local/bin/nvim05 | |
# put this in your .zshrc or .bashrc | |
alias v=/usr/local/bin/nvim05 | |
alias nvim=/usr/local/bin/nvim05 |
""""""""""""""""""""""""""""""""""" | |
" Share via paste.rs | |
" | |
" Visual select and :Share | |
" | |
" Add .extension to url to format code | |
" Example: .markdown | |
""""""""""""""""""""""""""""""""" | |
function! s:share() range |
##################### | |
# Directory shortcuts | |
##################### | |
# | |
# Navigate to favorite directories with fuzzy search | |
# Requires fzf | |
# | |
# `sc` mark current dir | |
# `s` go to mark | |
# `scr` remove mark |
98px | |
accordion | |
active | |
alert | |
alert-danger | |
alert-dark | |
alert-dismissible | |
alert-heading | |
alert-info | |
alert-light |
# build requisites | |
sudo apt-get install -y ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip | |
# download | |
cd ~ | |
git clone https://github.com/tjdevries/neovim.git -b tjdevries/keystrokes nvim2 | |
cd nvim2 | |
# Compile ( Install guide: https://github.com/neovim/neovim/wiki/Building-Neovim#building ) | |
make CMAKE_BUILD_TYPE=Release |
" This mapping combination with FZF feels great! | |
" See how this works: https://gfycat.com/wellgroomedofficialblueandgoldmackaw | |
" Buffers change with index and middle | |
nnoremap <C-j> :bn<CR> | |
nnoremap <C-k> :bp<CR> | |
" Index finger to filter lines in all buffers with jump to line | |
nnoremap <leader>j :Lines<CR> |