updates
This commit is contained in:
@@ -0,0 +1,420 @@
|
||||
# Configuration file for jupyter-qtconsole.
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# ConnectionFileMixin(LoggingConfigurable) configuration
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
## Mixin for configurable classes that work with connection files
|
||||
|
||||
## JSON file in which to store connection info [default: kernel-<pid>.json]
|
||||
#
|
||||
# This file will contain the IP, ports, and authentication key needed to connect
|
||||
# clients to this kernel. By default, this file will be created in the security
|
||||
# dir of the current profile, but can be specified by absolute path.
|
||||
#c.ConnectionFileMixin.connection_file = ''
|
||||
|
||||
## set the control (ROUTER) port [default: random]
|
||||
#c.ConnectionFileMixin.control_port = 0
|
||||
|
||||
## set the heartbeat port [default: random]
|
||||
#c.ConnectionFileMixin.hb_port = 0
|
||||
|
||||
## set the iopub (PUB) port [default: random]
|
||||
#c.ConnectionFileMixin.iopub_port = 0
|
||||
|
||||
## Set the kernel's IP address [default localhost]. If the IP address is
|
||||
# something other than localhost, then Consoles on other machines will be able
|
||||
# to connect to the Kernel, so be careful!
|
||||
#c.ConnectionFileMixin.ip = ''
|
||||
|
||||
## set the shell (ROUTER) port [default: random]
|
||||
#c.ConnectionFileMixin.shell_port = 0
|
||||
|
||||
## set the stdin (ROUTER) port [default: random]
|
||||
#c.ConnectionFileMixin.stdin_port = 0
|
||||
|
||||
##
|
||||
#c.ConnectionFileMixin.transport = 'tcp'
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# JupyterConsoleApp(ConnectionFileMixin) configuration
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
## Set to display confirmation dialog on exit. You can always use 'exit' or
|
||||
# 'quit', to force a direct exit without any confirmation.
|
||||
#c.JupyterConsoleApp.confirm_exit = True
|
||||
|
||||
## Connect to an already running kernel
|
||||
#c.JupyterConsoleApp.existing = ''
|
||||
|
||||
## The kernel manager class to use.
|
||||
#c.JupyterConsoleApp.kernel_manager_class = 'jupyter_client.manager.KernelManager'
|
||||
|
||||
## The name of the default kernel to start.
|
||||
#c.JupyterConsoleApp.kernel_name = 'python'
|
||||
|
||||
## Path to the ssh key to use for logging in to the ssh server.
|
||||
#c.JupyterConsoleApp.sshkey = ''
|
||||
|
||||
## The SSH server to use to connect to the kernel.
|
||||
#c.JupyterConsoleApp.sshserver = ''
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Application(SingletonConfigurable) configuration
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
## This is an application.
|
||||
|
||||
## The date format used by logging formatters for %(asctime)s
|
||||
#c.Application.log_datefmt = '%Y-%m-%d %H:%M:%S'
|
||||
|
||||
## The Logging format template
|
||||
#c.Application.log_format = '[%(name)s]%(highlevel)s %(message)s'
|
||||
|
||||
## Set the log level by value or name.
|
||||
#c.Application.log_level = 30
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# JupyterApp(Application) configuration
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
## Base class for Jupyter applications
|
||||
|
||||
## Answer yes to any prompts.
|
||||
#c.JupyterApp.answer_yes = False
|
||||
|
||||
## Full path of a config file.
|
||||
#c.JupyterApp.config_file = ''
|
||||
|
||||
## Specify a config file to load.
|
||||
#c.JupyterApp.config_file_name = ''
|
||||
|
||||
## Generate default config file.
|
||||
#c.JupyterApp.generate_config = False
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# JupyterQtConsoleApp(JupyterApp,JupyterConsoleApp) configuration
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
## Whether to display a banner upon starting the QtConsole.
|
||||
#c.JupyterQtConsoleApp.display_banner = True
|
||||
|
||||
## Start the console window with the menu bar hidden.
|
||||
#c.JupyterQtConsoleApp.hide_menubar = False
|
||||
|
||||
## Start the console window maximized.
|
||||
#c.JupyterQtConsoleApp.maximize = False
|
||||
|
||||
## Use a plaintext widget instead of rich text (plain can't print/save).
|
||||
#c.JupyterQtConsoleApp.plain = False
|
||||
|
||||
## path to a custom CSS stylesheet
|
||||
#c.JupyterQtConsoleApp.stylesheet = ''
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# ConsoleWidget(NewBase) configuration
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
## An abstract base class for console-type widgets. This class has functionality
|
||||
# for:
|
||||
#
|
||||
# * Maintaining a prompt and editing region
|
||||
# * Providing the traditional Unix-style console keyboard shortcuts
|
||||
# * Performing tab completion
|
||||
# * Paging text
|
||||
# * Handling ANSI escape codes
|
||||
#
|
||||
# ConsoleWidget also provides a number of utility methods that will be
|
||||
# convenient to implementors of a console-style widget.
|
||||
|
||||
## Whether to process ANSI escape codes.
|
||||
#c.ConsoleWidget.ansi_codes = True
|
||||
|
||||
## The maximum number of lines of text before truncation. Specifying a non-
|
||||
# positive number disables text truncation (not recommended).
|
||||
#c.ConsoleWidget.buffer_size = 500
|
||||
|
||||
## The height of the console at start time in number of characters (will double
|
||||
# with `vsplit` paging)
|
||||
#c.ConsoleWidget.console_height = 25
|
||||
|
||||
## The width of the console at start time in number of characters (will double
|
||||
# with `hsplit` paging)
|
||||
#c.ConsoleWidget.console_width = 81
|
||||
|
||||
## Whether to automatically execute on syntactically complete input.
|
||||
#
|
||||
# If False, Shift-Enter is required to submit each execution. Disabling this is
|
||||
# mainly useful for non-Python kernels, where the completion check would be
|
||||
# wrong.
|
||||
#c.ConsoleWidget.execute_on_complete_input = True
|
||||
|
||||
## The font family to use for the console. On OSX this defaults to Monaco, on
|
||||
# Windows the default is Consolas with fallback of Courier, and on other
|
||||
# platforms the default is Monospace.
|
||||
#c.ConsoleWidget.font_family = ''
|
||||
|
||||
## The font size. If unconfigured, Qt will be entrusted with the size of the
|
||||
# font.
|
||||
#c.ConsoleWidget.font_size = 0
|
||||
|
||||
## The type of completer to use. Valid values are:
|
||||
#
|
||||
# 'plain' : Show the available completion as a text list
|
||||
# Below the editing area.
|
||||
# 'droplist': Show the completion in a drop down list navigable
|
||||
# by the arrow keys, and from which you can select
|
||||
# completion by pressing Return.
|
||||
# 'ncurses' : Show the completion as a text list which is navigable by
|
||||
# `tab` and arrow keys.
|
||||
#c.ConsoleWidget.gui_completion = 'ncurses'
|
||||
|
||||
## Whether to include output from clients other than this one sharing the same
|
||||
# kernel.
|
||||
#
|
||||
# Outputs are not displayed until enter is pressed.
|
||||
c.ConsoleWidget.include_other_output = True
|
||||
|
||||
## The type of underlying text widget to use. Valid values are 'plain', which
|
||||
# specifies a QPlainTextEdit, and 'rich', which specifies a QTextEdit.
|
||||
#c.ConsoleWidget.kind = 'plain'
|
||||
|
||||
## Prefix to add to outputs coming from clients other than this one.
|
||||
#
|
||||
# Only relevant if include_other_output is True.
|
||||
#c.ConsoleWidget.other_output_prefix = '[remote] '
|
||||
|
||||
## The type of paging to use. Valid values are:
|
||||
#
|
||||
# 'inside'
|
||||
# The widget pages like a traditional terminal.
|
||||
# 'hsplit'
|
||||
# When paging is requested, the widget is split horizontally. The top
|
||||
# pane contains the console, and the bottom pane contains the paged text.
|
||||
# 'vsplit'
|
||||
# Similar to 'hsplit', except that a vertical splitter is used.
|
||||
# 'custom'
|
||||
# No action is taken by the widget beyond emitting a
|
||||
# 'custom_page_requested(str)' signal.
|
||||
# 'none'
|
||||
# The text is written directly to the console.
|
||||
#c.ConsoleWidget.paging = 'inside'
|
||||
|
||||
## The visibility of the scrollar. If False then the scrollbar will be invisible.
|
||||
#c.ConsoleWidget.scrollbar_visibility = True
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# HistoryConsoleWidget(ConsoleWidget) configuration
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
## A ConsoleWidget that keeps a history of the commands that have been executed
|
||||
# and provides a readline-esque interface to this history.
|
||||
|
||||
##
|
||||
#c.HistoryConsoleWidget.history_lock = False
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# FrontendWidget(HistoryConsoleWidget,BaseFrontendMixin) configuration
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
## A Qt frontend for a generic Python kernel.
|
||||
|
||||
##
|
||||
#c.FrontendWidget.banner = ''
|
||||
|
||||
## Whether to clear the console when the kernel is restarted
|
||||
#c.FrontendWidget.clear_on_kernel_restart = True
|
||||
|
||||
## Whether to ask for user confirmation when restarting kernel
|
||||
#c.FrontendWidget.confirm_restart = True
|
||||
|
||||
## Whether to draw information calltips on open-parentheses.
|
||||
#c.FrontendWidget.enable_calltips = True
|
||||
|
||||
## The pygments lexer class to use.
|
||||
#c.FrontendWidget.lexer_class = traitlets.Undefined
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# IPythonWidget(FrontendWidget) configuration
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
## Dummy class for config inheritance. Destroyed below.
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# JupyterWidget(IPythonWidget) configuration
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
## A FrontendWidget for a Jupyter kernel.
|
||||
|
||||
## A command for invoking a GUI text editor. If the string contains a {filename}
|
||||
# format specifier, it will be used. Otherwise, the filename will be appended to
|
||||
# the end the command. To use a terminal text editor, the command should launch
|
||||
# a new terminal, e.g. ``"gnome-terminal -- vim"``.
|
||||
#c.JupyterWidget.editor = ''
|
||||
|
||||
## The editor command to use when a specific line number is requested. The string
|
||||
# should contain two format specifiers: {line} and {filename}. If this parameter
|
||||
# is not specified, the line number option to the %edit magic will be ignored.
|
||||
#c.JupyterWidget.editor_line = ''
|
||||
|
||||
##
|
||||
#c.JupyterWidget.in_prompt = 'In [<span class="in-prompt-number">%i</span>]: '
|
||||
|
||||
##
|
||||
#c.JupyterWidget.input_sep = '\n'
|
||||
|
||||
##
|
||||
#c.JupyterWidget.out_prompt = 'Out[<span class="out-prompt-number">%i</span>]: '
|
||||
|
||||
##
|
||||
#c.JupyterWidget.output_sep = ''
|
||||
|
||||
##
|
||||
#c.JupyterWidget.output_sep2 = ''
|
||||
|
||||
## A CSS stylesheet. The stylesheet can contain classes for:
|
||||
# 1. Qt: QPlainTextEdit, QFrame, QWidget, etc
|
||||
# 2. Pygments: .c, .k, .o, etc. (see PygmentsHighlighter)
|
||||
# 3. QtConsole: .error, .in-prompt, .out-prompt, etc
|
||||
#c.JupyterWidget.style_sheet = ''
|
||||
|
||||
## If not empty, use this Pygments style for syntax highlighting. Otherwise, the
|
||||
# style sheet is queried for Pygments style information.
|
||||
#c.JupyterWidget.syntax_style = ''
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# KernelManager(ConnectionFileMixin) configuration
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
## Manages a single kernel in a subprocess on this host.
|
||||
#
|
||||
# This version starts kernels with Popen.
|
||||
|
||||
## Should we autorestart the kernel if it dies.
|
||||
#c.KernelManager.autorestart = True
|
||||
|
||||
## DEPRECATED: Use kernel_name instead.
|
||||
#
|
||||
# The Popen Command to launch the kernel. Override this if you have a custom
|
||||
# kernel. If kernel_cmd is specified in a configuration file, Jupyter does not
|
||||
# pass any arguments to the kernel, because it cannot make any assumptions about
|
||||
# the arguments that the kernel understands. In particular, this means that the
|
||||
# kernel does not receive the option --debug if it given on the Jupyter command
|
||||
# line.
|
||||
#c.KernelManager.kernel_cmd = []
|
||||
|
||||
## Time to wait for a kernel to terminate before killing it, in seconds.
|
||||
#c.KernelManager.shutdown_wait_time = 5.0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# KernelRestarter(LoggingConfigurable) configuration
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
## Monitor and autorestart a kernel.
|
||||
|
||||
## Whether to include every poll event in debugging output.
|
||||
#
|
||||
# Has to be set explicitly, because there will be *a lot* of output.
|
||||
#c.KernelRestarter.debug = False
|
||||
|
||||
## Whether to choose new random ports when restarting before the kernel is alive.
|
||||
#c.KernelRestarter.random_ports_until_alive = True
|
||||
|
||||
## The number of consecutive autorestarts before the kernel is presumed dead.
|
||||
#c.KernelRestarter.restart_limit = 5
|
||||
|
||||
## Kernel heartbeat interval in seconds.
|
||||
#c.KernelRestarter.time_to_dead = 3.0
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Session(Configurable) configuration
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
## Object for handling serialization and sending of messages.
|
||||
#
|
||||
# The Session object handles building messages and sending them with ZMQ sockets
|
||||
# or ZMQStream objects. Objects can communicate with each other over the
|
||||
# network via Session objects, and only need to work with the dict-based IPython
|
||||
# message spec. The Session will handle serialization/deserialization, security,
|
||||
# and metadata.
|
||||
#
|
||||
# Sessions support configurable serialization via packer/unpacker traits, and
|
||||
# signing with HMAC digests via the key/keyfile traits.
|
||||
#
|
||||
# Parameters ----------
|
||||
#
|
||||
# debug : bool
|
||||
# whether to trigger extra debugging statements
|
||||
# packer/unpacker : str : 'json', 'pickle' or import_string
|
||||
# importstrings for methods to serialize message parts. If just
|
||||
# 'json' or 'pickle', predefined JSON and pickle packers will be used.
|
||||
# Otherwise, the entire importstring must be used.
|
||||
#
|
||||
# The functions must accept at least valid JSON input, and output *bytes*.
|
||||
#
|
||||
# For example, to use msgpack:
|
||||
# packer = 'msgpack.packb', unpacker='msgpack.unpackb'
|
||||
# pack/unpack : callables
|
||||
# You can also set the pack/unpack callables for serialization directly.
|
||||
# session : bytes
|
||||
# the ID of this Session object. The default is to generate a new UUID.
|
||||
# username : unicode
|
||||
# username added to message headers. The default is to ask the OS.
|
||||
# key : bytes
|
||||
# The key used to initialize an HMAC signature. If unset, messages
|
||||
# will not be signed or checked.
|
||||
# keyfile : filepath
|
||||
# The file containing a key. If this is set, `key` will be initialized
|
||||
# to the contents of the file.
|
||||
|
||||
## Threshold (in bytes) beyond which an object's buffer should be extracted to
|
||||
# avoid pickling.
|
||||
#c.Session.buffer_threshold = 1024
|
||||
|
||||
## Whether to check PID to protect against calls after fork.
|
||||
#
|
||||
# This check can be disabled if fork-safety is handled elsewhere.
|
||||
#c.Session.check_pid = True
|
||||
|
||||
## Threshold (in bytes) beyond which a buffer should be sent without copying.
|
||||
#c.Session.copy_threshold = 65536
|
||||
|
||||
## Debug output in the Session
|
||||
#c.Session.debug = False
|
||||
|
||||
## The maximum number of digests to remember.
|
||||
#
|
||||
# The digest history will be culled when it exceeds this value.
|
||||
#c.Session.digest_history_size = 65536
|
||||
|
||||
## The maximum number of items for a container to be introspected for custom
|
||||
# serialization. Containers larger than this are pickled outright.
|
||||
#c.Session.item_threshold = 64
|
||||
|
||||
## execution key, for signing messages.
|
||||
#c.Session.key = b''
|
||||
|
||||
## path to file containing execution key.
|
||||
#c.Session.keyfile = ''
|
||||
|
||||
## Metadata dictionary, which serves as the default top-level metadata dict for
|
||||
# each message.
|
||||
#c.Session.metadata = {}
|
||||
|
||||
## The name of the packer for serializing messages. Should be one of 'json',
|
||||
# 'pickle', or an import name for a custom callable serializer.
|
||||
#c.Session.packer = 'json'
|
||||
|
||||
## The UUID identifying this session.
|
||||
#c.Session.session = ''
|
||||
|
||||
## The digest scheme used to construct the message signatures. Must have the form
|
||||
# 'hmac-HASH'.
|
||||
#c.Session.signature_scheme = 'hmac-sha256'
|
||||
|
||||
## The name of the unpacker for unserializing messages. Only used with custom
|
||||
# functions for `packer`.
|
||||
#c.Session.unpacker = 'json'
|
||||
|
||||
## Username for the Session. Default is your system username.
|
||||
#c.Session.username = 'hjalmarlucius'
|
||||
+15
-8
@@ -3,23 +3,27 @@
|
||||
* `yay megasync`
|
||||
* `yay onedrive-abraunegg`
|
||||
* `yay dropbox`
|
||||
* applications `sudo pacman -S npm nodejs ninja zathura-pdf-mupdf redshift yay trash-cli conky-manager feh pv fancontrol-gui thefuck ncdu`
|
||||
* spotify `yay ncspot-git`
|
||||
* code `sudo pacman -S neovim tig powerline the_silver_searcher tmux diff-so-fancy ttf-inconsolata`
|
||||
* gaming `sudo pacman -S steam-manjaro steam-native`
|
||||
* nvidia
|
||||
* `sudo pacman -S cuda`
|
||||
* `yay nvidia-vulkan`
|
||||
* applications
|
||||
* `sudo pacman -S npm nodejs`
|
||||
* `sudo pacman -S ninja the_silver_searcher`
|
||||
* `sudo pacman -S zathura-pdf-mupdf redshift yay trash-cli rofi`
|
||||
* `yay ncspot-git`
|
||||
* code
|
||||
* `sudo pacman -S neovim powerline tmux diff-so-fancy ttf-inconsolata`
|
||||
* gaming
|
||||
* `sudo pacman -S steam-manjaro steam-native`
|
||||
* ssh setup
|
||||
* enable SSH `sudo systemctl enable --now sshd.service`
|
||||
* enable X11 forwarding in `/etc/ssh/sshd_config`
|
||||
* set shell to 'fish' via `bmenu`
|
||||
* replace caps with esc `setxkbmap -option 'caps:escape`
|
||||
* nvidia
|
||||
* `sudo pacman -S cuda cudnn`
|
||||
* `yay nvidia-vulkan`
|
||||
|
||||
# python
|
||||
* `pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu101/torch_nightly.html`
|
||||
* `pip install nodejs plotly flake8 numpy scipy sympy matplotlib seaborn pytorch-lightning ggplot ptvsd tensorboard torchtext ipython matplotlib-label-lines ipympl pytest qbstyles`
|
||||
* `jupyter nbextension enable --py widgetsnbextension`
|
||||
|
||||
# enable services
|
||||
* `systemctl enable --user onedrive --now`
|
||||
@@ -27,3 +31,6 @@
|
||||
|
||||
# log services
|
||||
* log onedrive `journalctl --user-unit onedrive -f`
|
||||
|
||||
# IP
|
||||
* hjalmar-droneship 88.89.64.249 10.0.0.2
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"signature.target": "echo",
|
||||
"python.jediEnabled": false,
|
||||
"python.jediEnabled": true,
|
||||
"suggest.autoTrigger": "always",
|
||||
"python.autoComplete.addBrackets": true,
|
||||
"python.linting.pylintEnabled": false,
|
||||
|
||||
+26
-22
@@ -41,10 +41,10 @@ Plug 'chrisbra/Colorizer' " show color codes
|
||||
Plug 'junegunn/rainbow_parentheses.vim' " colorize parentheses
|
||||
" file mgmt
|
||||
Plug 'jeetsukumaran/vim-buffergator'
|
||||
"Plug 'scrooloose/nerdtree'
|
||||
Plug 'scrooloose/nerdtree'
|
||||
"Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
|
||||
"Plug 'vifm/vifm.vim'
|
||||
Plug 'rafaqz/ranger.vim'
|
||||
"Plug 'rafaqz/ranger.vim'
|
||||
" themes
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
@@ -69,7 +69,6 @@ let g:airline_theme='badwolf'
|
||||
highlight Normal guibg=NONE ctermbg=NONE
|
||||
highlight LineNr guibg=NONE ctermbg=NONE
|
||||
|
||||
|
||||
" -----------------------------------------------------------------------------
|
||||
" settings
|
||||
" -----------------------------------------------------------------------------
|
||||
@@ -98,16 +97,26 @@ let g:tex_conceal='bd'
|
||||
set ai " auto indent
|
||||
set si " smart indent
|
||||
|
||||
" Disables automatic commenting on newline:
|
||||
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
|
||||
autocmd Filetype markdown setlocal shiftwidth=2
|
||||
|
||||
" Automatically deletes all trailing whitespace on save.
|
||||
autocmd BufWritePre * %s/\s\+$//e
|
||||
|
||||
" default new file is markdown
|
||||
autocmd BufEnter * if &filetype == "" | setlocal ft=markdown | endif
|
||||
|
||||
set fileformat=unix
|
||||
au Filetype python set
|
||||
\ tabstop=4
|
||||
\ softtabstop=4
|
||||
\ shiftwidth=4
|
||||
|
||||
au Filetype markdown,yaml set
|
||||
\ tabstop=2
|
||||
\ softtabstop=2
|
||||
\ shiftwidth=2
|
||||
"
|
||||
" Disables automatic commenting on newline:
|
||||
"autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
|
||||
|
||||
" -----------------------------------------------------------------------------
|
||||
" keybinds
|
||||
" -----------------------------------------------------------------------------
|
||||
@@ -190,6 +199,7 @@ nmap <silent> <C-Right> :execute 'silent! tabmove ' . (tabpagenr()+1)<cr>
|
||||
nmap <C-p>g :GitFiles<ENTER>
|
||||
nmap <C-p>f :Files<ENTER>
|
||||
nmap <C-p>l :Fag<ENTER>
|
||||
nmap <C-p>l :Ag<ENTER>
|
||||
nmap <C-p>L :Lines<ENTER>
|
||||
nmap <C-p>r :Rg<ENTER>
|
||||
nmap <C-p>b :Buffers<ENTER>
|
||||
@@ -237,15 +247,15 @@ nmap <leader>gg :vertical Gstatus<cr>:vertical resize 60<cr>
|
||||
map <leader>N :NERDTreeToggle<cr>
|
||||
|
||||
" ranger.vim
|
||||
map <leader>rr :RangerEdit<cr>
|
||||
map <leader>rv :RangerVSplit<cr>
|
||||
map <leader>rs :RangerSplit<cr>
|
||||
map <leader>rt :RangerTab<cr>
|
||||
map <leader>ri :RangerInsert<cr>
|
||||
map <leader>ra :RangerAppend<cr>
|
||||
map <leader>rc :set operatorfunc=RangerChangeOperator<cr>g@
|
||||
map <leader>rd :RangerCD<cr>
|
||||
map <leader>rld :RangerLCD<cr>
|
||||
"map <leader>rr :RangerEdit<cr>
|
||||
"map <leader>rv :RangerVSplit<cr>
|
||||
"map <leader>rs :RangerSplit<cr>
|
||||
"map <leader>rt :RangerTab<cr>
|
||||
"map <leader>ri :RangerInsert<cr>
|
||||
"map <leader>ra :RangerAppend<cr>
|
||||
"map <leader>rc :set operatorfunc=RangerChangeOperator<cr>g@
|
||||
"map <leader>rd :RangerCD<cr>
|
||||
"map <leader>rld :RangerLCD<cr>
|
||||
|
||||
" nerdcommenter
|
||||
" '<leader>c ', '<leader>cl' aligned and '<leader>cu>' remove
|
||||
@@ -362,9 +372,6 @@ function! s:check_back_space() abort
|
||||
endfunction
|
||||
nmap <silent> K :call <SID>show_documentation()<CR>
|
||||
|
||||
" fzf only search lines and show preview
|
||||
command! -bang -nargs=* Fag call s:fag(<q-args>, {'options': '--delimiter : --nth 4..'}, <bang>1)
|
||||
|
||||
" fzf files with preview
|
||||
command! -bang -nargs=? -complete=dir Files
|
||||
\ call fzf#vim#files(<q-args>, {'options': ['--info=default', '--preview', 'cat {}']}, <bang>1)
|
||||
@@ -513,9 +520,6 @@ set smartcase " ... but case sensitive when uc present
|
||||
set scrolljump=5 " Line to scroll when cursor leaves screen
|
||||
set scrolloff=3 " Minumum lines to keep above and below cursor
|
||||
set nowrap " Do not wrap long lines
|
||||
set shiftwidth=4 " Use indents of 4 spaces
|
||||
set tabstop=4 " An indentation every four columns
|
||||
set softtabstop=4 " Let backspace delete indent
|
||||
set splitright " Puts new vsplit windows to the right of the current
|
||||
set splitbelow " Puts new split windows to the bottom of the current
|
||||
set autowrite " Automatically write a file when leaving a modified buffer
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -2,6 +2,7 @@
|
||||
autocrlf = input
|
||||
fileMode = false
|
||||
pager = diff-so-fancy | less --tabs=4 -RFX
|
||||
autorcrlf = true
|
||||
[user]
|
||||
name = Henrik Bakken
|
||||
email = bakken.henrik@gmail.com
|
||||
|
||||
@@ -14,3 +14,6 @@ export PATH
|
||||
|
||||
# MKL AMD fix
|
||||
export MKL_DEBUG_CPU_TYPE=5
|
||||
|
||||
export NVM_DIR="/home/hjalmarlucius/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
|
||||
Reference in New Issue
Block a user