dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit f78956773bc51ca3050f5d9a20e341a04481c564
parent 77a8b0fb4d00bf89e6698a6e60659405e1a00729
Author: hhvn <dev@hhvn.uk>
Date:   Tue, 26 Oct 2021 16:47:55 +0100

.c/n/m/filetype.vim .c/n/init.vim: don't need those dumb copyright binds

Diffstat:
M.config/nvim/init.vim | 1+
M.config/nvim/modules/filetype.vim | 11-----------
2 files changed, 1 insertion(+), 11 deletions(-)

diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim @@ -22,6 +22,7 @@ set undoreload=10000 "Leader let mapleader=";" +let maplocalleader="," "Cursor let &t_SI.="\033[6 q" "SI = INSERT mode diff --git a/.config/nvim/modules/filetype.vim b/.config/nvim/modules/filetype.vim @@ -1,16 +1,5 @@ function Shconfig() - nnoremap <buffer> <localleader>s i#!/bin/sh<CR>#<CR># <++><CR># Created by Hayden Hamilton<CR>#<CR># haydenvh.com<CR># Copyright (c) <++> Hayden Hamilton<CR><CR>cache=${XDG_CACHE_HOME:=$HOME/.cache}<CR>config=${XDG_CONFIG_HOME:=$HOME/.config}<esc> - nnoremap <buffer> <localleader>S i# <++><CR># Created by Hayden Hamilto<CR>#<CR># haydenvh.com<CR># Copyright (c) <++> Hayden Hamilton<CR>#<CR># THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<CR># IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<CR># FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE<CR># AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER<CR># LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,<CR># OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE<CR># SOFTWARE.<CR>#<CR># This work is free. You can redistribute it and/or modify it under the<CR># terms of the Do What The Fuck You Want To Public License, Version 2, <CR># as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.<CR><CR># <++><CR><CR>cache=${XDG_CACHE_HOME:=$HOME/.cache}<CR>config=${XDG_CONFIG_HOME:=$HOME/.config}<esc> nnoremap <buffer> <localleader>x :w<CR>:!chmod +x %<CR> - nnoremap <buffer> <localleader>f i(){<CR><CR>}<esc>kk0i - nnoremap <buffer> <localleader>$ i$()<esc>i - nnoremap <buffer> <localleader>($ i$(())<esc>hi - nnoremap <buffer> <localleader>$ca i$cache - nnoremap <buffer> <localleader>$co i$config - nnoremap <buffer> <localleader><space> i[[:space:]]<esc> - inoremap <buffer> <localleader><localleader><space> [[:space:]] - iabbrev <buffer> ccachedir cache=${XDG_CACHE_HOME:=$HOME/.cache} - iabbrev <buffer> cconfigdir cache=${XDG_CONFIG_HOME:=$HOME/.config} endfunction function Gphconfig()