Skip to content

Instantly share code, notes, and snippets.

@direvus direvus/.vimrc
Last active Oct 18, 2018

Embed
What would you like to do?
filetype plugin indent on
syntax on
set sw=4 ts=4 sts=4 ai et exrc nohls
set foldmethod=indent
set ruler
set showcmd
set list
set listchars=tab:▸\ ,eol:↵
colo desert
autocmd FileType javascript,css,yaml,json setlocal sw=2 sts=2 ts=2 et
autocmd FileType make setlocal noet
let g:jsx_ext_required = 0
import * as React from "react"
import * as Oni from "oni-api"
export const activate = (oni: Oni.Plugin.Api) => {
console.log("config activated")
// Input
//
// Add input bindings here:
//
oni.input.bind("<c-enter>", () => console.log("Control+Enter was pressed"))
//
// Or remove the default bindings here by uncommenting the below line:
//
// oni.input.unbind("<c-p>")
}
export const deactivate = (oni: Oni.Plugin.Api) => {
console.log("config deactivated")
}
export const configuration = {
//add custom config here, such as
"ui.colorscheme": "nord",
//"oni.useDefaultConfig": true,
//"oni.bookmarks": ["~/Documents"],
"oni.loadInitVim": true,
"editor.fontSize": "10px",
"editor.fontFamily": "Inconsolata",
// UI customizations
"ui.animations.enabled": true,
"ui.fontSmoothing": "auto",
"sidebar.default.open": false,
"autoClosingPairs.enabled": false,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.