Comments (6)
By default, what ctrl-a
does is not to "select all the text" in vim. So I suspect that you are using a plugin to do that. It is hard to tell what is wrong without seeing your configurations.
If you are looking for a way to share text from iVim to other apps, seeing ":help ios-share" and ":help ishare" may help.
from ivim.
Thank you for the speedy reply.
- if the “Arguments” line in Settings is empty then “ctrl-A” selects all the text
- on the other hand if the “Arguments” line is set to “-u vimrc” then “ctrl-A” does not work (it puts ivim into ‘input mode’).
My vimrc is really straightforward (see below) and this is why I am puzzled by this behavior. BTW, I use Apple Smart Keyboard with the more recent ipad pro (summer 2017).
Any and all suggestions will be welcome.
ps. I am familiar with :ishare but if I am not mistaken it does not work if the receiving app does not accept .txt files. E.g. I can send text I just composed in ivim to Word - but I can copy and paste it if I do not add “-u vimrc” in the Arguments line.
———————
ifont 1 15
syntax on
set autowrite
set history=100
set spell
set showmode
set cursorline
set autoindent
set incsearch
set hlsearch
set shiftwidth=1
set showmatch
set wrapscan
from ivim.
(one more perhaps relevant bit of information)
I just noticed that if I remove “-u vimrc” from Arguments, then open a file in ivim and run “:so vimrc” I get all of the settings of the vimrc file (see above) and ctrl-A does select all text now. So it appears that something is done differently when “-u vimrc” is present.
from ivim.
If you just want to load the configurations in your file, try and rename it from vimrc
to .vimrc
instead of loading it from the -u
option. In that case, iVim will load your .vimrc
automatically. Using the -u
option may put vim into 'compatible' mode, which might be the cause of the problem.
from ivim.
As an aside, if you want to copy all the text of a buffer into the system clipboard, an alternative method that doesn't require any mappings is to use the command:
:%y+
from ivim.
Great -- my thanks to everyone for your helpful feedback!
from ivim.
Related Issues (20)
- Could access to iCloud Drive be built into iVim?
- Text search utilities that work in iVim HOT 2
- iVim’s font when downloaded from the App Store? HOT 1
- iPlug source code
- Additions to spell file not sticking HOT 1
- How to copy/paste from/to the system clipboard for other applications HOT 5
- Window height is incorrect after iPadOS 15.7 update HOT 1
- set guicursor has strange effect HOT 2
- Cmd-Period no longer interpreted as <Esc> in iPadOS 16 HOT 6
- Themes possible with :iplug? HOT 2
- Markdown Preview
- Hard to type slash and question mark, key to close to screen edge HOT 2
- Screen stretch when repositioning cursor
- Copy and paste into iVim HOT 1
- Reading directories in the cloud HOT 2
- Consider a NeoVIm iOS port?
- Update python3 version?
- :echo system('uniq', ["a", "a", "b"]) —> crash HOT 2
- :ipreview markdown themes?
- findfile(‘filename’, ‘**’) does not work in iCloud directories HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ivim.