GithubHelp home page GithubHelp logo

mtrolley / vim-blink Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rrgeorge/vim-blink

0.0 0.0 0.0 28 KB

Vim plugin manager for blinkshell

License: GNU General Public License v2.0

Vim Script 100.00%

vim-blink's Introduction

vim-blink

Vim plugin manager for blinkshell. Most vim plugin managers depend on the git cli, which is not available on blink. This plugin manager uses curl to download and install plugins from GitHub instead of git.

Add the following to ~/.vimrc to install:

let data_dir = expand('~/.vim')
if empty(glob(data_dir . '/autoload/blink.vim'))
    call mkdir(expand(data_dir."/autoload"),"p")
    silent execute '!curl -fLo ' . data_dir . '/autoload/blink.vim --create-dirs  https://raw.githubusercontent.com/rrgeorge/vim-blink/master/blink.vim'
endif
call blink#init()

You can add Blink to activate plugins (and install as needed), like: Blink 'vim-airline/vim-airline'

To simply install without activatinging, you can use BlinkInstall, like: BlinkInstall 'vim-airline/vim-airline'

To check all plugins for updates, run :BlinkUpdate

My vimrc

This is the ~/.vimrc I am using on my devices. You can download it directly if you like, by running: curl -fLo ~/.vimrc https://raw.githubusercontent.com/rrgeorge/vim-blink/master/vimrc

The contents:

set termguicolors
set encoding=utf8
set background=dark
set backspace=2
syntax on

let data_dir = expand('~/.vim')
if empty(glob(data_dir . '/autoload/blink.vim'))
    call mkdir(expand(data_dir."/autoload"),"p")
    silent execute '!curl -fLo ' . data_dir . '/autoload/blink.vim --create-dirs https://raw.githubusercontent.com/rrgeorge/vim-blink/master/blink.vim'
endif

call blink#init()

Blink 'ryanoasis/vim-devicons'
Blink 'vim-airline/vim-airline'
Blink 'vim-airline/vim-airline-themes'
Blink 'fcpg/vim-osc52'
Blink 'preservim/nerdtree'
Blink 'preservim/tagbar'

let g:airline_powerline_fonts = 1
let NERDTreeQuitOnOpen=1

autocmd TextYankPost * if v:event.operator is 'y' && v:event.regname is '' | Oscyank " | endif
nnoremap <leader>n :NERDTreeToggle<CR>

vim-blink's People

Contributors

rrgeorge avatar havenwood avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.