I want to make some changes on my project with vim through a ssh-connection to Divio-Cloud. How can I deploy my .vimrc to be used by the Vim on Divio-Cloud. Till now it just uses a bare-bonded version without code-highlighting etc.
How can I deploy my .vimrc on Divio-Cloud to use with a ssh connection?
95 Views Asked by didierCH At
1
There are 1 best solutions below
Related Questions in VIM
- Firefox vim mode, can't switch to normal mode in style editor
- How to skip a command in redo
- Vim errorformat multiline string
- How to let Vim tell the switching across several `gvim.exe` processes?
- match wordchar and/or dot string of anylength
- augment the number of lines on indent
- Barebones vim with `nocp`
- Moved .vimrc in a new dir, trying to get it to work
- Copying text from gvim editor to system clipboard works only once per session
- Temporarily declare a word as wrong in vim spellchecker
- Automatically switch back to NerdTree after pressing "o" on file
- How to use Ctags to list all the references of a symbol(tag) in vim?
- Vim + Airline + Linux sloppy exit
- How to delete a WORD in vim in insert mode
- Prevent single letter deletes to spam clipboard manager
Related Questions in DIVIO
- 'content' cannot be specified for Article model form as it is a non-editable field
- Reverse for 'filer_folder_changelist' not found
- I have not changed requirements in my Divio project, so why does the build fail with a dependency conflict?
- How can I deploy my .vimrc on Divio-Cloud to use with a ssh connection?
- aldryn hello world issue
- Django CMS - ImportError: No module named markdown
- Why do I get KeyError: "MIGRATION_COMMANDS" when I upload my project to Divio Server?
- aldryn django-cms adding template
- Divio Windows App hangs at Preparing Logs
- Divio App trouble to create project directory and clone repository
- How to deploy existing application to the Divio Cloud
- local server error in divio app installation django-cms
- Listing Tags of a Post in Django CMS and Aldryn NewsBlog
- aldryn-newsblog view permissions
- pip-reqs compile only resolves one github zip package from multiple
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you use SSH to connect to Divio-Cloud, and open Vim there, you can use
SCPto copy your local~/.vimrcto the remote host, and then restart Vim there. (With an active SSH connection, and the appropriateControlMasterandControlPathconfiguration in~/.ssh/config, the connection will even be shared and you won't be prompted for a password for the remote copy.)You can also use other (SSH-based) synchronization methods, like
rsyncorunisonto keep your configuration up-to-date and in sync.Alternatively, you could use Vim on your local system, and open the remote files in it, via the
:help netrwplugin that ships with Vim::edit scp://hostname/path/to/file.